On 6/5/06, Mark Knecht <[EMAIL PROTECTED]> wrote:
Hi,
   I've been working through some updates on my wife's machine and now
it appears emerge itself has been broken:

dragonfly ~ # emerge -pv bash
/usr/bin/python: error while loading shared libraries: libstdc++.so.5:
cannot open shared object file: No such file or directory
dragonfly ~ #

   gcc and glibc updates were part of what was going on.

   I have some other Gentoo machines here at home if I need to copy something.

   How can I recover?

   First time in 3-4 years of running Gentoo that anything like this
has happened!

Thanks,
Mark


Like many things in life this pain seems to be somewhat self
inflicted, I suppose. More into.

After emerging gcc-3.4.6 I had troubles with the gcc-config stuff so I
removed gcc-3.3.6. However it appears that removing 3.3.6 removed
libstdc++ also. I updated slocate's database and saw that the only
libraries with that name are gone now:

dragonfly ~ # slocate libstdc++.so.5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5.0.7
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
dragonfly ~ # updatedb
dragonfly ~ # slocate libstdc++.so.5
dragonfly ~ #


More info:

dragonfly ~ # gcc-config -l
[1] i686-pc-linux-gnu-3.4.6 *
[2] i686-pc-linux-gnu-3.4.6-hardened
[3] i686-pc-linux-gnu-3.4.6-hardenednopie
[4] i686-pc-linux-gnu-3.4.6-hardenednopiessp
[5] i686-pc-linux-gnu-3.4.6-hardenednossp
dragonfly ~ # gcc-config -B
/usr/i686-pc-linux-gnu/gcc-bin/3.4.6
dragonfly ~ # gcc-config -B -L
/usr/i686-pc-linux-gnu/gcc-bin/3.4.6
dragonfly ~ # gcc-config -L
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6
dragonfly ~ # gcc-config -X
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3
dragonfly ~ # gcc-config -E
export 
PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.4.6:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3.6:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin:/opt/firebird/bin"
dragonfly ~ #

It seems that my AMD64 machine has a number of these:
[EMAIL PROTECTED] ~ $ slocate libstdc++.so.5
/mnt/gentoo32/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5.0.7
/mnt/gentoo32/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
/mnt/gentoo32/usr/lib/libstdc++-v3/libstdc++.so.5.0.6
/mnt/gentoo32/usr/lib/libstdc++-v3/libstdc++.so.5
/usr/lib64/libstdc++-v3/libstdc++.so.5.0.6
/usr/lib64/libstdc++-v3/libstdc++.so.5
/emul/linux/x86/usr/lib/libstdc++.so.5.0.5
/emul/linux/x86/usr/lib/libstdc++.so.5
[EMAIL PROTECTED] ~ $

- Mark
--
gentoo-user@gentoo.org mailing list

Reply via email to