Re: [gentoo-user] Problems after reemerging GCC
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:[EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problems after reemerging GCC
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Six wrote: > Hi, > > I just installed Gentoo. I decided I wanted GCJ and > Objective C support in the GCC, so I recompiled it. Hmmm... I would try toying around with gcc-config and see if that solves your problem. Also, try 'source /etc/profile'. - -- [Name ] :: [Matan I. Peled] [Location ] :: [Israel] [Public Key] :: [0xD6F42CA5] [Keyserver ] :: [keyserver.kjsl.com] encrypted/signed plain text preferred -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDCjIyA7Qvptb0LKURAnZhAJ4o+CCm6Clv/hrqN8245uF1U8a2ZQCfc6ze 6qdsL78CkfXNRUtXeV05nJY= =fBcD -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Problems after reemerging GCC
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 -- gentoo-user@gentoo.org mailing list