public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Problems after reemerging GCC
@ 2005-08-22 19:16 Bill Six
  2005-08-22 20:14 ` Matan Peled
  2005-08-22 21:03 ` Bryan Whitehead
  0 siblings, 2 replies; 3+ messages in thread
From: Bill Six @ 2005-08-22 19:16 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Problems after reemerging GCC
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Matan Peled @ 2005-08-22 20:14 UTC (permalink / raw
  To: gentoo-user

-----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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Problems after reemerging GCC
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Bryan Whitehead @ 2005-08-22 21:03 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-22 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox