From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E7JZ7-00081t-2P for garchives@archives.gentoo.org; Mon, 22 Aug 2005 21:10:45 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7ML95CM020616; Mon, 22 Aug 2005 21:09:05 GMT Received: from megahappy.net (82-182-31-216.tierzero.net [216.31.182.82] (may be forged)) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7ML5MmU024913 for ; Mon, 22 Aug 2005 21:05:22 GMT Received: by megahappy.net (Postfix, from userid 1000) id 110D24C010; Mon, 22 Aug 2005 14:03:55 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megahappy.net (Postfix) with ESMTP id D179B6800B for ; Mon, 22 Aug 2005 14:03:55 -0700 (PDT) Date: Mon, 22 Aug 2005 14:03:55 -0700 (PDT) From: Bryan Whitehead To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Problems after reemerging GCC In-Reply-To: <20050822191631.2053.qmail@web53807.mail.yahoo.com> Message-ID: References: <20050822191631.2053.qmail@web53807.mail.yahoo.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Archives-Salt: 2c598829-b912-416e-b2fe-48b75b8aa86a X-Archives-Hash: 53025325b5d28706f24f3e98ccaf12cd remove the LS_LIBRARY_PATH hacks and run revdep-rebuild to find the applications that are pointing at the wrong shared libraries - or need to be recompiled. Also make sure gcc-config is pointing to a fully-installed and functional compiler. This is my output: beavis ~ # gcc-config -l [1] i686-pc-linux-gnu-3.4.4 * [2] i686-pc-linux-gnu-3.4.4-hardened [3] i686-pc-linux-gnu-3.4.4-hardenednopie [4] i686-pc-linux-gnu-3.4.4-hardenednopiessp [5] i686-pc-linux-gnu-3.4.4-hardenednossp On Mon, 22 Aug 2005, Bill Six wrote: > Hi, > > I just installed Gentoo. I decided I wanted GCJ and > Objective C support in the GCC, so I recompiled it. > > What do you have to do after reemerging it? Because > afterwords, whenever I would try to run most > applications, I would get some error like "failed to > load shared libraries". I read somewhere on the > internet to add the new gcc > path(/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130) to > LD_LIBRARY_PATH and then env-update. > > While this stopped giving me the error I was seeing, > now when I try to emerge programs, the compilation > fails. > > It says > > "i686-pc-linux-gnu-gcc: installation problem, cannot > exec > `/usr/lib/gcc/i686-pc-linux-gnu/3.3.5-20050130/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/cc1': > No such file or directory > " > > > I've now looked at > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=5, > but that hasn't helped me too much. > > > I don't know if the following helps, but my > /etc/env.d/05gcc looks like > > "PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130" > ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130" > MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/man" > INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/info" > LDPATH="/usr/lib/gcc/i686-pc-linux-gnu/3.3.5-20050130" > GCC_SPECS="" > " > > and /etc/env.d/05gcc-i686-pc-linux-gnu > " > PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130" > ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130" > " > > > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > -- Bryan Whitehead Email:driver@megahappy.net -- gentoo-user@gentoo.org mailing list