Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: emerge broken - libstdc++.so.5
Date: Mon, 05 Jun 2006 17:47:31
Message-Id: 5bdc1c8b0606051041n785417c2s24c35e67b608f151@mail.gmail.com
In Reply to: [gentoo-user] emerge broken - libstdc++.so.5 by Mark Knecht
1 On 6/5/06, Mark Knecht <markknecht@×××××.com> wrote:
2 > Hi,
3 > I've been working through some updates on my wife's machine and now
4 > it appears emerge itself has been broken:
5 >
6 > dragonfly ~ # emerge -pv bash
7 > /usr/bin/python: error while loading shared libraries: libstdc++.so.5:
8 > cannot open shared object file: No such file or directory
9 > dragonfly ~ #
10 >
11 > gcc and glibc updates were part of what was going on.
12 >
13 > I have some other Gentoo machines here at home if I need to copy something.
14 >
15 > How can I recover?
16 >
17 > First time in 3-4 years of running Gentoo that anything like this
18 > has happened!
19 >
20 > Thanks,
21 > Mark
22 >
23
24 Like many things in life this pain seems to be somewhat self
25 inflicted, I suppose. More into.
26
27 After emerging gcc-3.4.6 I had troubles with the gcc-config stuff so I
28 removed gcc-3.3.6. However it appears that removing 3.3.6 removed
29 libstdc++ also. I updated slocate's database and saw that the only
30 libraries with that name are gone now:
31
32 dragonfly ~ # slocate libstdc++.so.5
33 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5.0.7
34 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
35 dragonfly ~ # updatedb
36 dragonfly ~ # slocate libstdc++.so.5
37 dragonfly ~ #
38
39
40 More info:
41
42 dragonfly ~ # gcc-config -l
43 [1] i686-pc-linux-gnu-3.4.6 *
44 [2] i686-pc-linux-gnu-3.4.6-hardened
45 [3] i686-pc-linux-gnu-3.4.6-hardenednopie
46 [4] i686-pc-linux-gnu-3.4.6-hardenednopiessp
47 [5] i686-pc-linux-gnu-3.4.6-hardenednossp
48 dragonfly ~ # gcc-config -B
49 /usr/i686-pc-linux-gnu/gcc-bin/3.4.6
50 dragonfly ~ # gcc-config -B -L
51 /usr/i686-pc-linux-gnu/gcc-bin/3.4.6
52 dragonfly ~ # gcc-config -L
53 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6
54 dragonfly ~ # gcc-config -X
55 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3
56 dragonfly ~ # gcc-config -E
57 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"
58 dragonfly ~ #
59
60 It seems that my AMD64 machine has a number of these:
61 mark@lightning ~ $ slocate libstdc++.so.5
62 /mnt/gentoo32/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5.0.7
63 /mnt/gentoo32/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
64 /mnt/gentoo32/usr/lib/libstdc++-v3/libstdc++.so.5.0.6
65 /mnt/gentoo32/usr/lib/libstdc++-v3/libstdc++.so.5
66 /usr/lib64/libstdc++-v3/libstdc++.so.5.0.6
67 /usr/lib64/libstdc++-v3/libstdc++.so.5
68 /emul/linux/x86/usr/lib/libstdc++.so.5.0.5
69 /emul/linux/x86/usr/lib/libstdc++.so.5
70 mark@lightning ~ $
71
72 - Mark
73 --
74 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: emerge broken - libstdc++.so.5 leszek <leszek@××××××.be>