public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Kenworthy <billk@iinet.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Help, please!  I've hosed my gcc.
Date: Wed, 16 Nov 2011 06:06:37 +0800	[thread overview]
Message-ID: <1321394797.7515.33.camel@moriah> (raw)
In-Reply-To: <20111115214400.GA22507@acm.acm>

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.
> 





  parent reply	other threads:[~2011-11-15 22:09 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
2011-11-15 22:48     ` Mark Knecht
2011-11-15 22:06 ` William Kenworthy [this message]
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=1321394797.7515.33.camel@moriah \
    --to=billk@iinet.net.au \
    --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