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 1RQQtY-0006li-3a for garchives@archives.gentoo.org; Tue, 15 Nov 2011 21:50:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A2E021C05D; Tue, 15 Nov 2011 21:50:11 +0000 (UTC) Received: from mail.muc.de (colin.muc.de [193.149.48.1]) by pigeon.gentoo.org (Postfix) with ESMTP id 301C621C035 for ; Tue, 15 Nov 2011 21:49:19 +0000 (UTC) Received: (qmail 47658 invoked by uid 3782); 15 Nov 2011 21:49:19 -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 22:49:18 +0100 Received: (qmail 22697 invoked by uid 1000); 15 Nov 2011 21:44:00 -0000 Date: Tue, 15 Nov 2011 21:44:00 +0000 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Help, please! I've hosed my gcc. Message-ID: <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=us-ascii Content-Disposition: inline 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 X-Archives-Salt: 87eb03c5-f3df-485f-898b-f41488704336 X-Archives-Hash: 9233ea30ef4cb3aa85894b28900d1926 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).