View previous topic :: View next topic |
Author |
Message |
abergou Tux's lil' helper


Joined: 12 Jun 2002 Posts: 85 Location: Ithaca, NY
|
Posted: Thu Jun 13, 2002 4:29 am Post subject: libstdc++.so.4 missing after rsync update world |
|
|
Hello I did an rsync update world on my gentoo 1.3a system (which was working great before this!) and it updated gcc-3.1-r5 to gcc-3.1-r6.... After this basically everything started breaking because the above mentioned library (libstdc++.so.4) was missing. I believe that the gcc package provides this library (and I think that the only two things that update world touched was gcc and the manpages). Is there a fix for this, can someone tell me where I screwed up? I attempted to emerge the gcc package several times to no avail. Thanks!!! (Btw I appologize for posting this twice -- I posted this to the newbie group as well, however I realized that this may not be a newbie question after-all). |
|
Back to top |
|
 |
lx Veteran


Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Thu Jun 13, 2002 12:08 pm Post subject: |
|
|
I still use gcc-3.1-r4 and this supplies the library. I've checked the ebuilds and ChanceLog and didn't find a clue why it should not build libstdc++, have you tried re-emerging the old gcc (the one that was working?).
Quote: | lrwxrwxrwx 1 root root 18 05-29 17:36 /usr/lib/libstdc++.so.4 -> libstdc++.so.4.0.0
-rwxr-xr-x 1 root root 840552 05-29 17:36 /usr/lib/libstdc++.so.4.0.0
|
Sry can't help, lX. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
 |
abergou Tux's lil' helper


Joined: 12 Jun 2002 Posts: 85 Location: Ithaca, NY
|
Posted: Thu Jun 13, 2002 3:31 pm Post subject: |
|
|
Yes I've tried to look through the changelogs as well -- even did a search on google and the closest I found to this is a problem with a cvs version of gcc which wouldn't build the libraries... How can I reemerge the old version of the library? I've tried and it says that it isn't found.... I also tried to login to the ftp-dir and find it but only found a tar archive for gcc-3.1 in general and not different releases. Thanks. |
|
Back to top |
|
 |
lx Veteran


Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Thu Jun 13, 2002 6:57 pm Post subject: |
|
|
I have the file still in my portage tree, but somehow it always wants to build the latest release, think you can do Code: | ebuild /usr/portage/sys-devel/gcc/gcc-3.1-r4.ebuild merge |
instead of merge maybe you better use "package qmerge" so you have a binary packages as backup.
/usr/portage/sys-devel/gcc/gcc-3.1-r4.ebuild package qmerge[/code]
Cya lX. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
 |
abergou Tux's lil' helper


Joined: 12 Jun 2002 Posts: 85 Location: Ithaca, NY
|
Posted: Thu Jun 13, 2002 9:24 pm Post subject: |
|
|
Okay I tried what you said -- with r5 the same thing happens as with r6 -- namely I still have no libstdc++.so.4, and the compile for r4 bombs out for me with the error message:
No rule to make target /var/tmp/portage/gcc-3.1-r4/work/build/gcc/../include/ansidecl.h needed by 'gengenrtl.o'.
I can't post the entire message since there are very few programs that I can run with the distro as it is (a web browser is not one of them). Could this be related to me actually having the following libraries:
libstdc++.so.2.8*
libstdc++.so.2.7*
There * means that there are a couple of versions of these present there. I think these may be the comptility libraries (just a shot in the dark here) which is why I could actually recompile blackbox so at least I have a window manager running. Thanks again. |
|
Back to top |
|
 |
lx Veteran


Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Thu Jun 13, 2002 9:45 pm Post subject: |
|
|
I have:
Quote: | Alex root # ls /usr/lib/libstdc*
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so /usr/lib/libstdc++.so.2.7.2
/usr/lib/libstdc++.a /usr/lib/libstdc++.so.2.7.2.8
/usr/lib/libstdc++.la /usr/lib/libstdc++.so.2.8
/usr/lib/libstdc++-libc6.1-1.so.2 /usr/lib/libstdc++.so.2.8.0
/usr/lib/libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++.so.4
/usr/lib/libstdc++.so |
most of them are from lib-compat rest from gcc. Sorry can't help, but doesn't build give an indication why libstdc++ ain't build?
Cya lX. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
 |
abergou Tux's lil' helper


Joined: 12 Jun 2002 Posts: 85 Location: Ithaca, NY
|
Posted: Thu Jun 13, 2002 10:37 pm Post subject: |
|
|
Yep missing the last two.... I'm rebuilt yet again with USE flags set to "" in my make.conf and with CFLAGS and CXXFLAGS simply set to -march=i486 and now the libraries were built with r5.... Going to see which one caused the odditity and i'll post back. Whew didn't have to reinstall though , that makes me happy.... Thanks for all your help! |
|
Back to top |
|
 |
andee n00b


Joined: 04 Jun 2002 Posts: 41
|
Posted: Fri Jun 14, 2002 1:43 am Post subject: |
|
|
I had that problem once.
I had to run bootstrap.sh to have working gcc again. I was with 2.95 |
|
Back to top |
|
 |
|