public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] gcc not working after update
  2009-05-13 12:31 [gentoo-user] gcc not working after update Arnau Bria
@ 2009-05-13 10:31 ` Arnau Bria
  2009-05-13 10:41   ` Neil Bothwick
  2009-05-13 10:45   ` Arnau Bria
  2009-05-13 10:43 ` Volker Armin Hemmann
  1 sibling, 2 replies; 7+ messages in thread
From: Arnau Bria @ 2009-05-13 10:31 UTC (permalink / raw
  To: gentoo-user

Well,

all commands are failing because:
arnau@lx-arnau ~/downloads $ amarok
amarok: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


Cheers,
Arnau



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

* Re: [gentoo-user] gcc not working after update
  2009-05-13 10:31 ` Arnau Bria
@ 2009-05-13 10:41   ` Neil Bothwick
  2009-05-13 10:45   ` Arnau Bria
  1 sibling, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2009-05-13 10:41 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 363 bytes --]

On Wed, 13 May 2009 12:31:07 +0200, Arnau Bria wrote:

> all commands are failing because:
> arnau@lx-arnau ~/downloads $ amarok
> amarok: error while loading shared libraries: libstdc++.so.6: cannot
> open shared object file: No such file or directory

Have you run gcc-config?


-- 
Neil Bothwick

If at first you don't succeed, redefine success.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] gcc not working after update
  2009-05-13 12:31 [gentoo-user] gcc not working after update Arnau Bria
  2009-05-13 10:31 ` Arnau Bria
@ 2009-05-13 10:43 ` Volker Armin Hemmann
  2009-05-13 10:50   ` Arnau Bria
  2009-05-13 13:02   ` Arnau Bria
  1 sibling, 2 replies; 7+ messages in thread
From: Volker Armin Hemmann @ 2009-05-13 10:43 UTC (permalink / raw
  To: gentoo-user

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.




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

* Re: [gentoo-user] gcc not working after update
  2009-05-13 10:31 ` Arnau Bria
  2009-05-13 10:41   ` Neil Bothwick
@ 2009-05-13 10:45   ` Arnau Bria
  1 sibling, 0 replies; 7+ messages in thread
From: Arnau Bria @ 2009-05-13 10:45 UTC (permalink / raw
  To: gentoo-user

Things getting better:

# gcc-config i686-pc-linux-gnu-4.3.2
 * Switching native-compiler to i686-pc-linux-gnu-4.3.2 ...

 * Your gcc has a bug with GCC_SPECS.
 * Please re-emerge gcc.
 * http://bugs.gentoo.org/68395

>>> Regenerating /etc/ld.so.cache...                                                                                                                                     [ ok ]

 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   # source /etc/profile

going to do what it is said...



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

* Re: [gentoo-user] gcc not working after update
  2009-05-13 10:43 ` Volker Armin Hemmann
@ 2009-05-13 10:50   ` Arnau Bria
  2009-05-13 13:02   ` Arnau Bria
  1 sibling, 0 replies; 7+ messages in thread
From: Arnau Bria @ 2009-05-13 10:50 UTC (permalink / raw
  To: gentoo-user

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

> http://www.gentoo.org/doc/en/gcc-upgrading.xml
> 
> you don't need to. You have to read the documentation.
:-)

as gcc-config -l failed I did not try gcc-config gcc-version and asked
here...

but doing that solved problems, nad now I'm continuing with the doc.

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



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

* [gentoo-user] gcc not working after update
@ 2009-05-13 12:31 Arnau Bria
  2009-05-13 10:31 ` Arnau Bria
  2009-05-13 10:43 ` Volker Armin Hemmann
  0 siblings, 2 replies; 7+ messages in thread
From: Arnau Bria @ 2009-05-13 12:31 UTC (permalink / raw
  To: gentoo-user

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,


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



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

* Re: [gentoo-user] gcc not working after update
  2009-05-13 10:43 ` Volker Armin Hemmann
  2009-05-13 10:50   ` Arnau Bria
@ 2009-05-13 13:02   ` Arnau Bria
  1 sibling, 0 replies; 7+ messages in thread
From: Arnau Bria @ 2009-05-13 13:02 UTC (permalink / raw
  To: gentoo-user

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



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

end of thread, other threads:[~2009-05-13 13:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-13 12:31 [gentoo-user] gcc not working after update Arnau Bria
2009-05-13 10:31 ` Arnau Bria
2009-05-13 10:41   ` Neil Bothwick
2009-05-13 10:45   ` Arnau Bria
2009-05-13 10:43 ` Volker Armin Hemmann
2009-05-13 10:50   ` Arnau Bria
2009-05-13 13:02   ` Arnau Bria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox