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 1RQRpA-000696-4A for garchives@archives.gentoo.org; Tue, 15 Nov 2011 22:49:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8D4221C112; Tue, 15 Nov 2011 22:49:33 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 4AD9021C06A for ; Tue, 15 Nov 2011 22:48:05 +0000 (UTC) Received: by faan15 with SMTP id n15so1146463faa.40 for ; Tue, 15 Nov 2011 14:48:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=tJ3RMm+7HF6sx2sPAciX0oXU8fWEZEHyQPjqn4rRejo=; b=gbyQifAPxE9I4xI0trrfALfufdQjarGb+/N6ngBlQcvozMNXtqPEiWFQ8fAVtM/j6M W4QoSthdgRWVWbpHjQiazMTJBHZgL+/4slMYtjuwQZu++yoilrX0iI0hXvdkxO21unuV 8WGu+UEubDuCjWFugNFJ41pIPDTsYIrk5t9Eo= 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 Received: by 10.182.2.136 with SMTP id 8mr2512336obu.71.1321397283878; Tue, 15 Nov 2011 14:48:03 -0800 (PST) Received: by 10.182.149.33 with HTTP; Tue, 15 Nov 2011 14:48:03 -0800 (PST) In-Reply-To: <20111115223535.GB22507@acm.acm> References: <20111115214400.GA22507@acm.acm> <20111115223535.GB22507@acm.acm> Date: Tue, 15 Nov 2011 14:48:03 -0800 Message-ID: Subject: Re: [gentoo-user] Help, please! I've hosed my gcc. From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: fd3f665e-bbc2-4856-9d86-79673b419c0b X-Archives-Hash: beb2c9fcd8b3727f37c9f17ed5f3c7bc On Tue, Nov 15, 2011 at 2:35 PM, Alan Mackenzie wrote: > 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. =C2= =A0I >> > can't remember the before/after versions, or even whether I've got bot= h >> > of them. > >> > lipgmp has a lot to do with my problem. =C2=A0After my last emerge -uN= D >> > world, I think libgmp was upgraded. =C2=A0At any rate the messages on = the >> > screen directed me to > >> > =C2=A0 =C2=A0revdep-rebuild --library /usr/libt64/libgmp.so.3 > >> > , which I did. =C2=A0They then informed me I could safely delete libgm= p.so.3, >> > which I also did. =C2=A0:-( > >> > Now, when I attempt gcc on the command line, I get the error: > >> > =C2=A0 =C2=A0/usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1: error whi= le loading >> > =C2=A0 =C2=A0shared libraries: libgmp.so.3: cannot open shared object = file: No >> > =C2=A0 =C2=A0such file or directory > >> > . =C2=A0So, is there an easy way for me to recover a working gcc, or d= o I >> > have to do something desperate, like reinstalling Gentoo? =C2=A0:-( > >> > Help will be most appreciated. > >> > -- >> > Alan Mackenzie (Nuremberg, Germany). > > > >> gcc-config -l > >> and see what's there > > Ah - gcc-config. =C2=A0I did gcc-config -l, and it displayed 2 versions o= f > gcc. =C2=A0Then I did gcc-config --help. =C2=A0Then I did > > =C2=A0 =C2=A0gcc-config x86_64-pc-linux-gnu-4.5.3 > > , and now gcc is working again, or more precisely the new one is working. > :-) =C2=A0Thanks for the tip! > > -- > Alan Mackenzie (Nuremberg, Germany). Happy to help and very glad it worked out. Cheers, Mark