On Wed, 13 May 2009 12:43:49 +0200
Volker Armin Hemmann wrote:

> On Mittwoch 13 Mai 2009, Arnau Bria wrote:
> > Hi all,
> >
> > I've updated my system and gcc stop working.
> > I've done:
> > 1.-) emerge -uD world
> > 2.-) revdep-rebuild
> > 3.-) emerge -depclean
> > 4.-) revdep-rebuild
> >
> >
> > depclean did this:
> >
> >  sys-devel/gcc
> >     selected: 4.1.2
> >    protected: none
> >      omitted: 4.3.2-r3
> >
> > but now i get this error:
> >
> > # gcc-config -l
> >  * gcc-config: Active gcc profile is invalid!
> >  [1] i686-pc-linux-gnu-4.3.2
> >
> > # eix gcc
> > eix: error while loading shared libraries: libstdc++.so.6: cannot
> > open shared object file: No such file or directory
> >
> > then, I try fix_libtool:
> >
> >  # fix_libtool_files.sh 4.1.2
> >  * Scanning libtool files for hardcoded gcc library paths...
> > gcc-config error: Could not run/locate "gcc"
> >
> > :0: assertion failed: (gcc -dumpversion) | getline NEWVER)
> >
> > Not sure if gcc 4.1.2 was last version, but as depclean removed
> > it...
> >
> > so, how may I recover my gcc?
> >
> > TIA,
> 
> http://www.gentoo.org/doc/en/gcc-upgrading.xml
> 
> you don't need to. You have to read the documentation.
one point on this:
 * If you have issues with packages unable to locate libstdc++.la,
 * then try running 'fix_libtool_files.sh' on the old gcc versions.

Maybe I confused libstdc++.la with libstdc++.so.6, but elog message
recommends fix_libtool in case of missing libraries.

thanks for your help,



-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity

Reply via email to