Gentoo Archives: gentoo-dev

From: Ingo Krabbe <i.krabbe@×××××.net>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] gcc3.2.2 ate portage and others
Date: Thu, 27 Feb 2003 09:04:08
Message-Id: 20030227085441.GA2186@dokom.net
In Reply to: [gentoo-dev] gcc3.2.2 ate portage and others by oford
1 On Thu, Feb 27, 2003 at 02:29:34AM -0600, oford wrote:
2 >
3 > Went from gcc3.2 to 3.2.2.
4 >
5 > Noticed that gnome-panel was not clearing closed windows.
6 > Killed X and it restarted but put me in error message hell. Nothing
7 > would work.
8 > Tried to emerge gcc3.2 and got this...
9 > "python: unable to load libstdc++.so.5"
10 >
11 > I am now through being angry and kicking myself. I just want things to
12 > work again ;)
13 >
14 > Any hints would be nice.
15 >
16 > ./Owen
17 >
18
19 Hey Owen keep cool,
20
21 this is a bug of course, a bug that looks fat and dangerous, but this
22 will be easily resolved.
23
24 I don't know about the gentoo problem here.
25
26 What is obvious though, is that you have a problem loading some
27 libraries that live in the private directory of gcc.
28
29 On my architecture this directory is named:
30 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2
31
32 This directory takes a line in
33 /etc/ld.so.conf
34 too !
35
36 What you can do is :
37
38 1. To get things running only in the current shell (works as user too!):
39 LD_LIBRARY_PATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2:$LD_LIBRARY_PATH"
40 export LD_LIBRARY_PATH
41
42 2. To get this running in the whole system (works only as root):
43 echo "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2">> ld.so.conf
44 ldconfig
45
46 If you have more problems, feel free to contact me directly.
47
48 NOTE THAT YOU MIGHT HAVE ANOTHER ARCHITECTURE ! MINE IS
49 i686-pc-linux-gnu
50
51 You can find out about this directory by:
52 gcc -v
53 which emits:
54 Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/specs
55
56 This specs directory is the same as the libraries should live in.
57
58 I hope this gets your system running smooth again.
59
60 BYE INGO
61
62 --
63 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] gcc3.2.2 ate portage and others Mark Gordon <mark.gt@×××××××××××××××.uk>