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