1 |
Hi, Mark |
2 |
|
3 |
On Tue, Nov 15, 2011 at 02:06:32PM -0800, Mark Knecht wrote: |
4 |
> On Tue, Nov 15, 2011 at 1:44 PM, Alan Mackenzie <acm@×××.de> wrote: |
5 |
|
6 |
> > My gcc now fails to work. |
7 |
|
8 |
> > I upgraded it earlier on (I think) after doing an emerge --sync. I |
9 |
> > can't remember the before/after versions, or even whether I've got both |
10 |
> > of them. |
11 |
|
12 |
> > lipgmp has a lot to do with my problem. After my last emerge -uND |
13 |
> > world, I think libgmp was upgraded. At any rate the messages on the |
14 |
> > screen directed me to |
15 |
|
16 |
> > revdep-rebuild --library /usr/libt64/libgmp.so.3 |
17 |
|
18 |
> > , which I did. They then informed me I could safely delete libgmp.so.3, |
19 |
> > which I also did. :-( |
20 |
|
21 |
> > Now, when I attempt gcc on the command line, I get the error: |
22 |
|
23 |
> > /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading |
24 |
> > shared libraries: libgmp.so.3: cannot open shared object file: No |
25 |
> > such file or directory |
26 |
|
27 |
> > . So, is there an easy way for me to recover a working gcc, or do I |
28 |
> > have to do something desperate, like reinstalling Gentoo? :-( |
29 |
|
30 |
> > Help will be most appreciated. |
31 |
|
32 |
> > -- |
33 |
> > Alan Mackenzie (Nuremberg, Germany). |
34 |
|
35 |
|
36 |
|
37 |
> gcc-config -l |
38 |
|
39 |
> and see what's there |
40 |
|
41 |
Ah - gcc-config. I did gcc-config -l, and it displayed 2 versions of |
42 |
gcc. Then I did gcc-config --help. Then I did |
43 |
|
44 |
gcc-config x86_64-pc-linux-gnu-4.5.3 |
45 |
|
46 |
, and now gcc is working again, or more precisely the new one is working. |
47 |
:-) Thanks for the tip! |
48 |
|
49 |
-- |
50 |
Alan Mackenzie (Nuremberg, Germany). |