* [gentoo-user] Help, please! I've hosed my gcc.
@ 2011-11-15 21:44 Alan Mackenzie
2011-11-15 22:03 ` covici
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Alan Mackenzie @ 2011-11-15 21:44 UTC (permalink / raw
To: gentoo-user
Hi, Gentoo.
My gcc now fails to work.
I upgraded it earlier on (I think) after doing an emerge --sync. I
can't remember the before/after versions, or even whether I've got both
of them.
lipgmp has a lot to do with my problem. After my last emerge -uND
world, I think libgmp was upgraded. At any rate the messages on the
screen directed me to
revdep-rebuild --library /usr/libt64/libgmp.so.3
, which I did. They then informed me I could safely delete libgmp.so.3,
which I also did. :-(
Now, when I attempt gcc on the command line, I get the error:
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading
shared libraries: libgmp.so.3: cannot open shared object file: No
such file or directory
. So, is there an easy way for me to recover a working gcc, or do I
have to do something desperate, like reinstalling Gentoo? :-(
Help will be most appreciated.
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Help, please! I've hosed my gcc.
2011-11-15 21:44 [gentoo-user] Help, please! I've hosed my gcc Alan Mackenzie
@ 2011-11-15 22:03 ` covici
2011-11-15 22:06 ` Mark Knecht
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: covici @ 2011-11-15 22:03 UTC (permalink / raw
To: gentoo-user
Alan Mackenzie <acm@muc.de> wrote:
> Hi, Gentoo.
>
> My gcc now fails to work.
>
> I upgraded it earlier on (I think) after doing an emerge --sync. I
> can't remember the before/after versions, or even whether I've got both
> of them.
>
> lipgmp has a lot to do with my problem. After my last emerge -uND
> world, I think libgmp was upgraded. At any rate the messages on the
> screen directed me to
>
> revdep-rebuild --library /usr/libt64/libgmp.so.3
>
> , which I did. They then informed me I could safely delete libgmp.so.3,
> which I also did. :-(
>
> Now, when I attempt gcc on the command line, I get the error:
>
> /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading
> shared libraries: libgmp.so.3: cannot open shared object file: No
> such file or directory
>
> . So, is there an easy way for me to recover a working gcc, or do I
> have to do something desperate, like reinstalling Gentoo? :-(
>
> Help will be most appreciated.
>
Do you have a backup?
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Help, please! I've hosed my gcc.
2011-11-15 21:44 [gentoo-user] Help, please! I've hosed my gcc Alan Mackenzie
2011-11-15 22:03 ` covici
@ 2011-11-15 22:06 ` Mark Knecht
2011-11-15 22:35 ` Alan Mackenzie
2011-11-15 22:06 ` William Kenworthy
2011-11-15 22:13 ` Dale
3 siblings, 1 reply; 7+ messages in thread
From: Mark Knecht @ 2011-11-15 22:06 UTC (permalink / raw
To: gentoo-user
On Tue, Nov 15, 2011 at 1:44 PM, Alan Mackenzie <acm@muc.de> wrote:
> Hi, Gentoo.
>
> My gcc now fails to work.
>
> I upgraded it earlier on (I think) after doing an emerge --sync. I
> can't remember the before/after versions, or even whether I've got both
> of them.
>
> lipgmp has a lot to do with my problem. After my last emerge -uND
> world, I think libgmp was upgraded. At any rate the messages on the
> screen directed me to
>
> revdep-rebuild --library /usr/libt64/libgmp.so.3
>
> , which I did. They then informed me I could safely delete libgmp.so.3,
> which I also did. :-(
>
> Now, when I attempt gcc on the command line, I get the error:
>
> /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading
> shared libraries: libgmp.so.3: cannot open shared object file: No
> such file or directory
>
> . So, is there an easy way for me to recover a working gcc, or do I
> have to do something desperate, like reinstalling Gentoo? :-(
>
> Help will be most appreciated.
>
> --
> Alan Mackenzie (Nuremberg, Germany).
>
>
gcc-config -l
and see what's there
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Help, please! I've hosed my gcc.
2011-11-15 21:44 [gentoo-user] Help, please! I've hosed my gcc Alan Mackenzie
2011-11-15 22:03 ` covici
2011-11-15 22:06 ` Mark Knecht
@ 2011-11-15 22:06 ` William Kenworthy
2011-11-15 22:13 ` Dale
3 siblings, 0 replies; 7+ messages in thread
From: William Kenworthy @ 2011-11-15 22:06 UTC (permalink / raw
To: gentoo-user
symlink it to the later version, or copy the lib over from another
system.
Then rebuild dev-libs/gmp and dont delete the lib!
I got bitten by this but only on one system - the file is supplied by
the later ebuild so I dont know why it asks to delete it. Was in the
middle of a major snafu when it bit so didnt bug report it - should
have.
BillK
On Tue, 2011-11-15 at 21:44 +0000, Alan Mackenzie wrote:
> Hi, Gentoo.
>
> My gcc now fails to work.
>
> I upgraded it earlier on (I think) after doing an emerge --sync. I
> can't remember the before/after versions, or even whether I've got both
> of them.
>
> lipgmp has a lot to do with my problem. After my last emerge -uND
> world, I think libgmp was upgraded. At any rate the messages on the
> screen directed me to
>
> revdep-rebuild --library /usr/libt64/libgmp.so.3
>
> , which I did. They then informed me I could safely delete libgmp.so.3,
> which I also did. :-(
>
> Now, when I attempt gcc on the command line, I get the error:
>
> /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading
> shared libraries: libgmp.so.3: cannot open shared object file: No
> such file or directory
>
> . So, is there an easy way for me to recover a working gcc, or do I
> have to do something desperate, like reinstalling Gentoo? :-(
>
> Help will be most appreciated.
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Help, please! I've hosed my gcc.
2011-11-15 21:44 [gentoo-user] Help, please! I've hosed my gcc Alan Mackenzie
` (2 preceding siblings ...)
2011-11-15 22:06 ` William Kenworthy
@ 2011-11-15 22:13 ` Dale
3 siblings, 0 replies; 7+ messages in thread
From: Dale @ 2011-11-15 22:13 UTC (permalink / raw
To: gentoo-user
Alan Mackenzie wrote:
> Hi, Gentoo.
>
> My gcc now fails to work.
>
> I upgraded it earlier on (I think) after doing an emerge --sync. I
> can't remember the before/after versions, or even whether I've got both
> of them.
>
> lipgmp has a lot to do with my problem. After my last emerge -uND
> world, I think libgmp was upgraded. At any rate the messages on the
> screen directed me to
>
> revdep-rebuild --library /usr/libt64/libgmp.so.3
>
> , which I did. They then informed me I could safely delete libgmp.so.3,
> which I also did. :-(
>
> Now, when I attempt gcc on the command line, I get the error:
>
> /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading
> shared libraries: libgmp.so.3: cannot open shared object file: No
> such file or directory
>
> . So, is there an easy way for me to recover a working gcc, or do I
> have to do something desperate, like reinstalling Gentoo? :-(
>
> Help will be most appreciated.
>
Check to make sure a gcc is selected:
gcc-config -l
Sometimes if a old version is removed the link is sort of left dangling
in the wind.
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Help, please! I've hosed my gcc.
2011-11-15 22:06 ` Mark Knecht
@ 2011-11-15 22:35 ` Alan Mackenzie
2011-11-15 22:48 ` Mark Knecht
0 siblings, 1 reply; 7+ messages in thread
From: Alan Mackenzie @ 2011-11-15 22:35 UTC (permalink / raw
To: gentoo-user
Hi, Mark
On Tue, Nov 15, 2011 at 02:06:32PM -0800, Mark Knecht wrote:
> On Tue, Nov 15, 2011 at 1:44 PM, Alan Mackenzie <acm@muc.de> wrote:
> > My gcc now fails to work.
> > I upgraded it earlier on (I think) after doing an emerge --sync. I
> > can't remember the before/after versions, or even whether I've got both
> > of them.
> > lipgmp has a lot to do with my problem. After my last emerge -uND
> > world, I think libgmp was upgraded. At any rate the messages on the
> > screen directed me to
> > revdep-rebuild --library /usr/libt64/libgmp.so.3
> > , which I did. They then informed me I could safely delete libgmp.so.3,
> > which I also did. :-(
> > Now, when I attempt gcc on the command line, I get the error:
> > /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading
> > shared libraries: libgmp.so.3: cannot open shared object file: No
> > such file or directory
> > . So, is there an easy way for me to recover a working gcc, or do I
> > have to do something desperate, like reinstalling Gentoo? :-(
> > Help will be most appreciated.
> > --
> > Alan Mackenzie (Nuremberg, Germany).
> gcc-config -l
> and see what's there
Ah - gcc-config. I did gcc-config -l, and it displayed 2 versions of
gcc. Then I did gcc-config --help. Then I did
gcc-config x86_64-pc-linux-gnu-4.5.3
, and now gcc is working again, or more precisely the new one is working.
:-) Thanks for the tip!
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Help, please! I've hosed my gcc.
2011-11-15 22:35 ` Alan Mackenzie
@ 2011-11-15 22:48 ` Mark Knecht
0 siblings, 0 replies; 7+ messages in thread
From: Mark Knecht @ 2011-11-15 22:48 UTC (permalink / raw
To: gentoo-user
On Tue, Nov 15, 2011 at 2:35 PM, Alan Mackenzie <acm@muc.de> wrote:
> Hi, Mark
>
> On Tue, Nov 15, 2011 at 02:06:32PM -0800, Mark Knecht wrote:
>> On Tue, Nov 15, 2011 at 1:44 PM, Alan Mackenzie <acm@muc.de> wrote:
>
>> > My gcc now fails to work.
>
>> > I upgraded it earlier on (I think) after doing an emerge --sync. I
>> > can't remember the before/after versions, or even whether I've got both
>> > of them.
>
>> > lipgmp has a lot to do with my problem. After my last emerge -uND
>> > world, I think libgmp was upgraded. At any rate the messages on the
>> > screen directed me to
>
>> > revdep-rebuild --library /usr/libt64/libgmp.so.3
>
>> > , which I did. They then informed me I could safely delete libgmp.so.3,
>> > which I also did. :-(
>
>> > Now, when I attempt gcc on the command line, I get the error:
>
>> > /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while loading
>> > shared libraries: libgmp.so.3: cannot open shared object file: No
>> > such file or directory
>
>> > . So, is there an easy way for me to recover a working gcc, or do I
>> > have to do something desperate, like reinstalling Gentoo? :-(
>
>> > Help will be most appreciated.
>
>> > --
>> > Alan Mackenzie (Nuremberg, Germany).
>
>
>
>> gcc-config -l
>
>> and see what's there
>
> Ah - gcc-config. I did gcc-config -l, and it displayed 2 versions of
> gcc. Then I did gcc-config --help. Then I did
>
> gcc-config x86_64-pc-linux-gnu-4.5.3
>
> , and now gcc is working again, or more precisely the new one is working.
> :-) Thanks for the tip!
>
> --
> Alan Mackenzie (Nuremberg, Germany).
Happy to help and very glad it worked out.
Cheers,
Mark
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-11-15 22:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-15 21:44 [gentoo-user] Help, please! I've hosed my gcc Alan Mackenzie
2011-11-15 22:03 ` covici
2011-11-15 22:06 ` Mark Knecht
2011-11-15 22:35 ` Alan Mackenzie
2011-11-15 22:48 ` Mark Knecht
2011-11-15 22:06 ` William Kenworthy
2011-11-15 22:13 ` Dale
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox