Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Help, please! I've hosed my gcc.
Date: Tue, 15 Nov 2011 22:09:16
Message-Id: CAK2H+efg=hRCOxUfB4+Wm9HYmb6sYCo8L+9aKfdyVb08ZNnGqA@mail.gmail.com
In Reply to: [gentoo-user] Help, please! I've hosed my gcc. by Alan Mackenzie
1 On Tue, Nov 15, 2011 at 1:44 PM, Alan Mackenzie <acm@×××.de> wrote:
2 > Hi, Gentoo.
3 >
4 > My gcc now fails to work.
5 >
6 > I upgraded it earlier on (I think) after doing an emerge --sync.  I
7 > can't remember the before/after versions, or even whether I've got both
8 > of them.
9 >
10 > lipgmp has a lot to do with my problem.  After my last emerge -uND
11 > world, I think libgmp was upgraded.  At any rate the messages on the
12 > screen directed me to
13 >
14 >    revdep-rebuild --library /usr/libt64/libgmp.so.3
15 >
16 > , which I did.  They then informed me I could safely delete libgmp.so.3,
17 > which I also did.  :-(
18 >
19 > Now, when I attempt gcc on the command line, I get the error:
20 >
21 >    /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading
22 >    shared libraries: libgmp.so.3: cannot open shared object file: No
23 >    such file or directory
24 >
25 > .  So, is there an easy way for me to recover a working gcc, or do I
26 > have to do something desperate, like reinstalling Gentoo?  :-(
27 >
28 > Help will be most appreciated.
29 >
30 > --
31 > Alan Mackenzie (Nuremberg, Germany).
32 >
33 >
34
35 gcc-config -l
36
37 and see what's there

Replies

Subject Author
Re: [gentoo-user] Help, please! I've hosed my gcc. Alan Mackenzie <acm@×××.de>