Gentoo Archives: gentoo-user

From: Bryan Whitehead <driver@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problems after reemerging GCC
Date: Mon, 22 Aug 2005 21:10:45
Message-Id: Pine.LNX.4.63.0508221400210.5863@beavis.megahappy.net
In Reply to: [gentoo-user] Problems after reemerging GCC by Bill Six
1 remove the LS_LIBRARY_PATH hacks and run revdep-rebuild to find the
2 applications that are pointing at the wrong shared libraries - or need to
3 be recompiled.
4
5 Also make sure gcc-config is pointing to a fully-installed and functional
6 compiler. This is my output:
7
8 beavis ~ # gcc-config -l
9 [1] i686-pc-linux-gnu-3.4.4 *
10 [2] i686-pc-linux-gnu-3.4.4-hardened
11 [3] i686-pc-linux-gnu-3.4.4-hardenednopie
12 [4] i686-pc-linux-gnu-3.4.4-hardenednopiessp
13 [5] i686-pc-linux-gnu-3.4.4-hardenednossp
14
15
16 On Mon, 22 Aug 2005, Bill Six wrote:
17
18 > Hi,
19 >
20 > I just installed Gentoo. I decided I wanted GCJ and
21 > Objective C support in the GCC, so I recompiled it.
22 >
23 > What do you have to do after reemerging it? Because
24 > afterwords, whenever I would try to run most
25 > applications, I would get some error like "failed to
26 > load shared libraries". I read somewhere on the
27 > internet to add the new gcc
28 > path(/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130) to
29 > LD_LIBRARY_PATH and then env-update.
30 >
31 > While this stopped giving me the error I was seeing,
32 > now when I try to emerge programs, the compilation
33 > fails.
34 >
35 > It says
36 >
37 > "i686-pc-linux-gnu-gcc: installation problem, cannot
38 > exec
39 > `/usr/lib/gcc/i686-pc-linux-gnu/3.3.5-20050130/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/cc1':
40 > No such file or directory
41 > "
42 >
43 >
44 > I've now looked at
45 > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=5,
46 > but that hasn't helped me too much.
47 >
48 >
49 > I don't know if the following helps, but my
50 > /etc/env.d/05gcc looks like
51 >
52 > "PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130"
53 > ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130"
54 > MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/man"
55 > INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/info"
56 > LDPATH="/usr/lib/gcc/i686-pc-linux-gnu/3.3.5-20050130"
57 > GCC_SPECS=""
58 > "
59 >
60 > and /etc/env.d/05gcc-i686-pc-linux-gnu
61 > "
62 > PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130"
63 > ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130"
64 > "
65 >
66 >
67 >
68 > ____________________________________________________
69 > Start your day with Yahoo! - make it your home page
70 > http://www.yahoo.com/r/hs
71 >
72 >
73
74 --
75 Bryan Whitehead
76 Email:driver@×××××××××.net
77 --
78 gentoo-user@g.o mailing list