Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Why does my system still want gcc 3.4.9?
Date: Wed, 14 May 2008 10:57:05
Message-Id: 200805141256.59698.volker.armin.hemmann@tu-clausthal.de
In Reply to: [gentoo-user] Why does my system still want gcc 3.4.9? by felix@crowfix.com
1 On Mittwoch, 14. Mai 2008, felix@×××××××.com wrote:
2 > I have been battling this weirdness for several months, and it has
3 > been getting worse and worse. Now I can't even unpack half the man
4 > pages.
5 >
6 > The short of it is that a lot of binaries on my system are linked
7 > against gcc 3.4.9, even if I remerge them from scratch. It happened
8 > with gcc 4.2.2, I emerged 4.2.3 and it still happens. The most common
9 > broken binary is /usr/bin/lzma, which I have remerged several times
10 > since the 4.2.3 emerge to no avail.
11 >
12 > # ldd /usr/bin/lzma
13 > /usr/bin/lzma: /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6: version
14 > `GLIBCXX_3.4.9' not found (required by /usr/bin/lzma) linux-gate.so.1 =>
15 > (0xffffe000)
16 > libstdc++.so.6 =>
17 > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6 (0xb7e3a000) libm.so.6
18 > => /lib/libm.so.6 (0xb7e15000)
19 > libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
20 > (0xb7e09000) libc.so.6 => /lib/libc.so.6 (0xb7cd4000)
21 > /lib/ld-linux.so.2 (0xb7f63000)
22 >
23 > gcc-config is happy:
24 >
25 > # gcc-config -l
26 > [1] i686-pc-linux-gnu-4.1.2
27 > [2] i686-pc-linux-gnu-4.2.3 *
28 >
29 > The bad symlinks for gcj components (reported by revdep-rebuild) have
30 > been fixed.
31 >
32 > There is an old gcc hanging around, which I have been tempted to move
33 > out of the way and see what happens, but I don't like broken
34 > unbootable systems.
35 >
36 > $ ll /usr/lib/gcc/i386-pc-linux-gnu/
37 > total 0
38 > drwxr-xr-x 2 root root 80 Jun 12 2006 3.4.4
39 >
40 > with the other two versions elsewhere:
41 >
42 > $ ll /usr/lib/gcc/i686-pc-linux-gnu/
43 > total 4
44 > drwxr-xr-x 4 root root 2464 Dec 27 15:07 4.1.2
45 > drwxr-xr-x 5 root root 2504 May 12 11:58 4.2.3
46 >
47 > This is a ~x86 system.
48
49 there are/were probably a bunch of *la files left which have that stale crap
50 in them. Grep for it. Then remove them.
51
52 --
53 gentoo-user@l.g.o mailing list