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 1RQRC4-0001JI-Kq for garchives@archives.gentoo.org; Tue, 15 Nov 2011 22:09:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6CDB321C0C9; Tue, 15 Nov 2011 22:09:15 +0000 (UTC) Received: from outbound.icp-osb-irony-out8.iinet.net.au (outbound.icp-osb-irony-out8.iinet.net.au [203.59.1.134]) by pigeon.gentoo.org (Postfix) with ESMTP id E214F21C0C9 for ; Tue, 15 Nov 2011 22:06:42 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EAKzhwk58qTt0/2dsb2JhbABChQGkbYEFgXIBAQUjZgsNCwICJgICV68bkXeBMIImgyaBf4EWBIgRkVwfjC0 X-IronPort-AV: E=Sophos;i="4.69,517,1315152000"; d="scan'208";a="172040393" Received: from unknown (HELO moriah.localdomain) ([124.169.59.116]) by outbound.icp-osb-irony-out8.iinet.net.au with ESMTP; 16 Nov 2011 06:06:41 +0800 Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id B7F7592D21 for ; Wed, 16 Nov 2011 06:06:40 +0800 (WST) X-Virus-Scanned: amavisd-new at lan.localdomain Received: from moriah.localdomain ([127.0.0.1]) by localhost (moriah.lan.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2iv8RBZwFelL for ; Wed, 16 Nov 2011 06:06:38 +0800 (WST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id 1B92790452 for ; Wed, 16 Nov 2011 06:06:38 +0800 (WST) Subject: Re: [gentoo-user] Help, please! I've hosed my gcc. From: William Kenworthy To: gentoo-user@lists.gentoo.org In-Reply-To: <20111115214400.GA22507@acm.acm> References: <20111115214400.GA22507@acm.acm> Content-Type: text/plain; charset="UTF-8" Date: Wed, 16 Nov 2011 06:06:37 +0800 Message-ID: <1321394797.7515.33.camel@moriah> 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 X-Mailer: Evolution 2.32.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: e2b6a2ec-c86b-4120-bf48-7552492cc081 X-Archives-Hash: 3c0259e04c45a3ca4f39fef277992e76 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. >