From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RQRhc-0005E8-8R for garchives@archives.gentoo.org; Tue, 15 Nov 2011 22:42:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9ACDB21C0F8; Tue, 15 Nov 2011 22:41:54 +0000 (UTC) Received: from mail.muc.de (colin.muc.de [193.149.48.1]) by pigeon.gentoo.org (Postfix) with ESMTP id F053F21C0C9 for ; Tue, 15 Nov 2011 22:40:54 +0000 (UTC) Received: (qmail 51706 invoked by uid 3782); 15 Nov 2011 22:40:53 -0000 Received: from acm.muc.de (pD9557082.dip.t-dialin.net [217.85.112.130]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 15 Nov 2011 23:40:52 +0100 Received: (qmail 27161 invoked by uid 1000); 15 Nov 2011 22:35:35 -0000 Date: Tue, 15 Nov 2011 22:35:35 +0000 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Help, please! I've hosed my gcc. Message-ID: <20111115223535.GB22507@acm.acm> References: <20111115214400.GA22507@acm.acm> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 5c91532d-a07f-4c3e-a5fc-51509fe7173c X-Archives-Hash: bb43481f8c34631becfbe15f2b1e3a00 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 wrote: > > My gcc now fails to work. > > I upgraded it earlier on (I think) after doing an emerge --sync. =A0I > > can't remember the before/after versions, or even whether I've got bo= th > > of them. > > lipgmp has a lot to do with my problem. =A0After my last emerge -uND > > world, I think libgmp was upgraded. =A0At any rate the messages on th= e > > screen directed me to > > =A0 =A0revdep-rebuild --library /usr/libt64/libgmp.so.3 > > , which I did. =A0They then informed me I could safely delete libgmp.= so.3, > > which I also did. =A0:-( > > Now, when I attempt gcc on the command line, I get the error: > > =A0 =A0/usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error while lo= ading > > =A0 =A0shared libraries: libgmp.so.3: cannot open shared object file:= No > > =A0 =A0such file or directory > > . =A0So, is there an easy way for me to recover a working gcc, or do = I > > have to do something desperate, like reinstalling Gentoo? =A0:-( > > 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! --=20 Alan Mackenzie (Nuremberg, Germany).