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.


Reply via email to