Gentoo Archives: gentoo-user

From: Dirk Heinrichs <dirk.heinrichs.ext@×××.com>
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 06:19:58
Message-Id: 200805140819.44037.dirk.heinrichs.ext@nsn.com
In Reply to: [gentoo-user] Why does my system still want gcc 3.4.9? by felix@crowfix.com
1 Am Mittwoch, 14. Mai 2008 schrieb ext felix@×××××××.com:
2
3 > The short of it is that a lot of binaries on my system are linked
4 > against gcc 3.4.9, even if I remerge them from scratch.
5
6 There is no such thing as gcc 3.4.9.
7
8 > It happened
9 > with gcc 4.2.2, I emerged 4.2.3 and it still happens. The most common
10 > broken binary is /usr/bin/lzma, which I have remerged several times
11 > since the 4.2.3 emerge to no avail.
12 >
13 > # ldd /usr/bin/lzma
14 > /usr/bin/lzma: /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6:
15 > version `GLIBCXX_3.4.9' not found (required by /usr/bin/lzma)
16
17 You emerged it with 4.2.3, but _at_runtime_ it's trying to get libstdc++
18 from 4.1.2. Check your environment, especially all variables with PATH in
19 their name (env|grep PATH), as well as /etc/ld.so.conf.
20
21 Try: LD_LIBRARY_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.3 ldd /usr/bin/lzma
22
23 If this works, try running "env-update && source /etc/profile", then
24 just "ldd /usr/bin/lzma" again.
25
26 > gcc-config is happy:
27
28 It doesn't matter how happ gcc-config is. Your runtime linker is not.
29
30 > There is an old gcc hanging around, which I have been tempted to move
31 > out of the way and see what happens, but I don't like broken
32 > unbootable systems.
33
34 Rename it and run revdep-rebuild. If everything is fine you can remove it.
35
36 HTH...
37
38 Dirk
39 --
40 Dirk Heinrichs | Tel: +49 (0)162 234 3408
41 Configuration Manager | Fax: +49 (0)211 47068 111
42 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
43 Wanheimerstraße 68 | Web: http://www.capgemini.com
44 D-40468 Düsseldorf | ICQ#: 110037733
45 GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Why does my system still want gcc 3.4.9? felix@×××××××.com