Gentoo Archives: gentoo-user

From: Alan McKinnon <alan@××××××××××××××××.za>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] libstdc++.so.6 - another gcc upgrade problem?
Date: Wed, 06 Sep 2006 07:20:48
Message-Id: 200609060915.19059.alan@linuxholdings.co.za
In Reply to: Re: [gentoo-user] libstdc++.so.6 - another gcc upgrade problem? by Mick
1 On Wednesday 06 September 2006 00:12, Mick wrote:
2
3 > Yep, it rebuilt 220 packages, I am totally exhausted and the
4 > poor lappy is probably just an emerge short of being
5 > totalled! :-))
6 >
7 > So, to recapitulate: I've emerged gcc, remerged the system,
8 > remerged world, revedep-rebuild --library libstdc++.so.6 and
9 > I ended up with an awfully ugly Fluxbox and KDE applications:
10 >
11 > http://gentoo.michaelkintzios.fastmail.fm/gcc-result.jpg
12 >
13 > Also grub was borked and had to be reinstalled. Anyway, the
14 > bigger problem is that kde will no longer start - when I type
15 > kdestart in aterm I get:
16 >
17 > $ kdestart
18 > -bash: kdestart: command not found
19 >
20 > What can I do to fix this laptop short of reinstalling
21 > afresh.
22
23 hehe, you have my full sympathies. I started my gcc4.1 upgraded
24 on Friday and it completed early yesterday evening. I was also
25 getting errors about kmail and khtml not starting due to
26 libstdc++ having the wrong abi version. revdep-rebuild won't
27 fix it, as the problem is due to there being two gcc versions
28 on the system:
29
30 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6.0.6
31 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8
32
33 and the way the relevant env var is set, it finds 3.4.6 first.
34 You could tweak the env vars to fix it, but the real fix is to
35 just unmerge gcc-3.4.6. The howto tells you to do it, but it's
36 just a mention in a bigger paragraph and could be clearer.
37
38 alan
39 --
40 gentoo-user@g.o mailing list