1 |
symlink it to the later version, or copy the lib over from another |
2 |
system. |
3 |
|
4 |
Then rebuild dev-libs/gmp and dont delete the lib! |
5 |
|
6 |
I got bitten by this but only on one system - the file is supplied by |
7 |
the later ebuild so I dont know why it asks to delete it. Was in the |
8 |
middle of a major snafu when it bit so didnt bug report it - should |
9 |
have. |
10 |
|
11 |
BillK |
12 |
|
13 |
|
14 |
|
15 |
On Tue, 2011-11-15 at 21:44 +0000, Alan Mackenzie wrote: |
16 |
> Hi, Gentoo. |
17 |
> |
18 |
> My gcc now fails to work. |
19 |
> |
20 |
> I upgraded it earlier on (I think) after doing an emerge --sync. I |
21 |
> can't remember the before/after versions, or even whether I've got both |
22 |
> of them. |
23 |
> |
24 |
> lipgmp has a lot to do with my problem. After my last emerge -uND |
25 |
> world, I think libgmp was upgraded. At any rate the messages on the |
26 |
> screen directed me to |
27 |
> |
28 |
> revdep-rebuild --library /usr/libt64/libgmp.so.3 |
29 |
> |
30 |
> , which I did. They then informed me I could safely delete libgmp.so.3, |
31 |
> which I also did. :-( |
32 |
> |
33 |
> Now, when I attempt gcc on the command line, I get the error: |
34 |
> |
35 |
> /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading |
36 |
> shared libraries: libgmp.so.3: cannot open shared object file: No |
37 |
> such file or directory |
38 |
> |
39 |
> . So, is there an easy way for me to recover a working gcc, or do I |
40 |
> have to do something desperate, like reinstalling Gentoo? :-( |
41 |
> |
42 |
> Help will be most appreciated. |
43 |
> |