1 |
On Mittwoch 13 Mai 2009, Arnau Bria wrote: |
2 |
> Hi all, |
3 |
> |
4 |
> I've updated my system and gcc stop working. |
5 |
> I've done: |
6 |
> 1.-) emerge -uD world |
7 |
> 2.-) revdep-rebuild |
8 |
> 3.-) emerge -depclean |
9 |
> 4.-) revdep-rebuild |
10 |
> |
11 |
> |
12 |
> depclean did this: |
13 |
> |
14 |
> sys-devel/gcc |
15 |
> selected: 4.1.2 |
16 |
> protected: none |
17 |
> omitted: 4.3.2-r3 |
18 |
> |
19 |
> but now i get this error: |
20 |
> |
21 |
> # gcc-config -l |
22 |
> * gcc-config: Active gcc profile is invalid! |
23 |
> [1] i686-pc-linux-gnu-4.3.2 |
24 |
> |
25 |
> # eix gcc |
26 |
> eix: error while loading shared libraries: libstdc++.so.6: cannot open |
27 |
> shared object file: No such file or directory |
28 |
> |
29 |
> then, I try fix_libtool: |
30 |
> |
31 |
> # fix_libtool_files.sh 4.1.2 |
32 |
> * Scanning libtool files for hardcoded gcc library paths... |
33 |
> gcc-config error: Could not run/locate "gcc" |
34 |
> |
35 |
> :0: assertion failed: (gcc -dumpversion) | getline NEWVER) |
36 |
> |
37 |
> Not sure if gcc 4.1.2 was last version, but as depclean removed it... |
38 |
> |
39 |
> so, how may I recover my gcc? |
40 |
> |
41 |
> TIA, |
42 |
|
43 |
http://www.gentoo.org/doc/en/gcc-upgrading.xml |
44 |
|
45 |
you don't need to. You have to read the documentation. |