1 |
On Wed, 13 May 2009 12:43:49 +0200 |
2 |
Volker Armin Hemmann wrote: |
3 |
|
4 |
> On Mittwoch 13 Mai 2009, Arnau Bria wrote: |
5 |
> > Hi all, |
6 |
> > |
7 |
> > I've updated my system and gcc stop working. |
8 |
> > I've done: |
9 |
> > 1.-) emerge -uD world |
10 |
> > 2.-) revdep-rebuild |
11 |
> > 3.-) emerge -depclean |
12 |
> > 4.-) revdep-rebuild |
13 |
> > |
14 |
> > |
15 |
> > depclean did this: |
16 |
> > |
17 |
> > sys-devel/gcc |
18 |
> > selected: 4.1.2 |
19 |
> > protected: none |
20 |
> > omitted: 4.3.2-r3 |
21 |
> > |
22 |
> > but now i get this error: |
23 |
> > |
24 |
> > # gcc-config -l |
25 |
> > * gcc-config: Active gcc profile is invalid! |
26 |
> > [1] i686-pc-linux-gnu-4.3.2 |
27 |
> > |
28 |
> > # eix gcc |
29 |
> > eix: error while loading shared libraries: libstdc++.so.6: cannot |
30 |
> > open shared object file: No such file or directory |
31 |
> > |
32 |
> > then, I try fix_libtool: |
33 |
> > |
34 |
> > # fix_libtool_files.sh 4.1.2 |
35 |
> > * Scanning libtool files for hardcoded gcc library paths... |
36 |
> > gcc-config error: Could not run/locate "gcc" |
37 |
> > |
38 |
> > :0: assertion failed: (gcc -dumpversion) | getline NEWVER) |
39 |
> > |
40 |
> > Not sure if gcc 4.1.2 was last version, but as depclean removed |
41 |
> > it... |
42 |
> > |
43 |
> > so, how may I recover my gcc? |
44 |
> > |
45 |
> > TIA, |
46 |
> |
47 |
> http://www.gentoo.org/doc/en/gcc-upgrading.xml |
48 |
> |
49 |
> you don't need to. You have to read the documentation. |
50 |
one point on this: |
51 |
* If you have issues with packages unable to locate libstdc++.la, |
52 |
* then try running 'fix_libtool_files.sh' on the old gcc versions. |
53 |
|
54 |
Maybe I confused libstdc++.la with libstdc++.so.6, but elog message |
55 |
recommends fix_libtool in case of missing libraries. |
56 |
|
57 |
thanks for your help, |
58 |
|
59 |
|
60 |
|
61 |
-- |
62 |
Arnau Bria |
63 |
http://blog.emergetux.net |
64 |
Bombing for peace is like fucking for virginity |