From: Bryan Whitehead <driver@megahappy.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Problems after reemerging GCC
Date: Mon, 22 Aug 2005 14:03:55 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.63.0508221400210.5863@beavis.megahappy.net> (raw)
In-Reply-To: <20050822191631.2053.qmail@web53807.mail.yahoo.com>
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
prev parent reply other threads:[~2005-08-22 21:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-22 19:16 [gentoo-user] Problems after reemerging GCC Bill Six
2005-08-22 20:14 ` Matan Peled
2005-08-22 21:03 ` Bryan Whitehead [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.63.0508221400210.5863@beavis.megahappy.net \
--to=driver@megahappy.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox