From: Alan Mackenzie <acm@muc.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Help, please! I've hosed my gcc.
Date: Tue, 15 Nov 2011 22:35:35 +0000 [thread overview]
Message-ID: <20111115223535.GB22507@acm.acm> (raw)
In-Reply-To: <CAK2H+efg=hRCOxUfB4+Wm9HYmb6sYCo8L+9aKfdyVb08ZNnGqA@mail.gmail.com>
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).
next prev parent reply other threads:[~2011-11-15 22:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2011-11-15 22:48 ` Mark Knecht
2011-11-15 22:06 ` William Kenworthy
2011-11-15 22:13 ` Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111115223535.GB22507@acm.acm \
--to=acm@muc.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox