public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] eix needs GLIBCXX_3.4.xxx
@ 2012-07-22 13:52 David Relson
  2012-07-22 16:23 ` Volker Armin Hemmann
  0 siblings, 1 reply; 5+ messages in thread
From: David Relson @ 2012-07-22 13:52 UTC (permalink / raw
  To: gentoo-user

G'day,

I've got a problem with eix on my 32-bit system (but not on my 64-bit
system).  Some GLIBCXX_3.4.?? symbols are not being found.  "emerge -e
world" didn't correct the problem.

Any suggestions?

Details are below.

Regards,

David

*** details ***

On my 64-bit workstation (x86_64 AMD Phenom(tm) running
3.2.11-gentoo), eix runs fine.

On my 32-bit machine (AMD Geode running kernel 2.6.31-gentoo-r6),
running eix reports:

    eix: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found
	(required by eix) 
    eix: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found 
	(required by eix)
    eix: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found
	(required by eix)

I've run "emege -w world" and the problem has not gone away

Notes:
	eix-0.23.10 is installed on both machines
	gcc 4.6.3 is installed on the good (64-bit) machine
	gcc 4.5.3-r2 is installed on the problem (32-bit) machine

Testing with ldd gives:

32-bit:

    relson@fit-pc ~ $ ldd /usr/bin/eix
    /usr/bin/eix: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not
	found (required by /usr/bin/eix) 
    /usr/bin/eix: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not
	found (required by /usr/bin/eix) 
    /usr/bin/eix: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not 
	found (required by /usr/bin/eix)
    linux-gate.so.1 =>  (0xb77e0000) 
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76f7000) 
    libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1 (0xb76d9000) 
    libc.so.6 => /lib/libc.so.6 (0xb757e000) 
    libm.so.6 => /lib/libm.so.6 (0xb7557000) /lib/ld-linux.so.2 (0xb77e1000)

64-bit:

    linux-vdso.so.1 =>  (0x00007fffa2091000)
    libstdc++.so.6 =>
        /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6
        (0x00007faea2444000) 
    libgcc_s.so.1 => 
	/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1
	(0x00007faea222d000)  
    libc.so.6 => /lib64/libc.so.6 (0x00007faea1e9b000) 
    libm.so.6 => /lib64/libm.so.6 (0x00007faea1c17000) 
    /lib64/ld-linux-x86-64.so.2 (0x00007faea274c000)


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

* Re: [gentoo-user] eix needs GLIBCXX_3.4.xxx
  2012-07-22 13:52 [gentoo-user] eix needs GLIBCXX_3.4.xxx David Relson
@ 2012-07-22 16:23 ` Volker Armin Hemmann
  2012-07-22 17:41   ` David Relson
  0 siblings, 1 reply; 5+ messages in thread
From: Volker Armin Hemmann @ 2012-07-22 16:23 UTC (permalink / raw
  To: gentoo-user; +Cc: David Relson

Am Sonntag, 22. Juli 2012, 09:52:06 schrieb David Relson:
> /usr/lib/libstdc++.so.6

how about moving that stuff away and creating a symlink to the correct version?


-- 
#163933


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

* Re: [gentoo-user] eix needs GLIBCXX_3.4.xxx
  2012-07-22 16:23 ` Volker Armin Hemmann
@ 2012-07-22 17:41   ` David Relson
  2012-07-22 23:33     ` [gentoo-user] " walt
  0 siblings, 1 reply; 5+ messages in thread
From: David Relson @ 2012-07-22 17:41 UTC (permalink / raw
  To: gentoo-user

On Sun, 22 Jul 2012 18:23:47 +0200
Volker Armin Hemmann wrote:

> Am Sonntag, 22. Juli 2012, 09:52:06 schrieb David Relson:
> > /usr/lib/libstdc++.so.6
> 
> how about moving that stuff away and creating a symlink to the
> correct version?

Such a simple fix...

/usr/lib/libstdc++.so.6 was linked to libstdc++.so.6.0.8 rather than
6.0.14.

All is good now.

Thanks.

David


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

* [gentoo-user] Re: eix needs GLIBCXX_3.4.xxx
  2012-07-22 17:41   ` David Relson
@ 2012-07-22 23:33     ` walt
  2012-07-23  3:15       ` David Relson
  0 siblings, 1 reply; 5+ messages in thread
From: walt @ 2012-07-22 23:33 UTC (permalink / raw
  To: gentoo-user

On 07/22/2012 10:41 AM, David Relson wrote:
> On Sun, 22 Jul 2012 18:23:47 +0200
> Volker Armin Hemmann wrote:
> 
>> Am Sonntag, 22. Juli 2012, 09:52:06 schrieb David Relson:
>>> /usr/lib/libstdc++.so.6
>>
>> how about moving that stuff away and creating a symlink to the
>> correct version?
> 
> Such a simple fix...
> 
> /usr/lib/libstdc++.so.6 was linked to libstdc++.so.6.0.8 rather than
> 6.0.14.
> 
> All is good now.

I'm guessing that you have more than one version of gcc on the 32-bit
machine?  Any time you use gcc-config to change the working version of
gcc, the symlink to libstdc++.so will also be changed automatically to
point at the matching library version.




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

* Re: [gentoo-user] Re: eix needs GLIBCXX_3.4.xxx
  2012-07-22 23:33     ` [gentoo-user] " walt
@ 2012-07-23  3:15       ` David Relson
  0 siblings, 0 replies; 5+ messages in thread
From: David Relson @ 2012-07-23  3:15 UTC (permalink / raw
  To: gentoo-user

On Sun, 22 Jul 2012 16:33:18 -0700
walt wrote:

> On 07/22/2012 10:41 AM, David Relson wrote:
> > On Sun, 22 Jul 2012 18:23:47 +0200
> > Volker Armin Hemmann wrote:
> > 
> >> Am Sonntag, 22. Juli 2012, 09:52:06 schrieb David Relson:
> >>> /usr/lib/libstdc++.so.6
> >>
> >> how about moving that stuff away and creating a symlink to the
> >> correct version?
> > 
> > Such a simple fix...
> > 
> > /usr/lib/libstdc++.so.6 was linked to libstdc++.so.6.0.8 rather than
> > 6.0.14.
> > 
> > All is good now.
> 
> I'm guessing that you have more than one version of gcc on the 32-bit
> machine?  Any time you use gcc-config to change the working version of
> gcc, the symlink to libstdc++.so will also be changed automatically to
> point at the matching library version.
> 
> 

Nope.  I only have gcc-4.5.3.  Evidently symlink 
/usr/lib/libstdc++.so.6 didn't get updated when libstdc++.so.6.0.14 was
built.

FWIW, the machine has the following versions of libstdc++.so

	6.0.14 - Jul 21 2012 ( in /usr/lib/gcc/.../4.5.3 )
	6.0.8  - May 15 2007 ( in /usr/lib )
	6.0.6  - Aug  3 2006 ( in /usr/lib )

Regards,

David



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

end of thread, other threads:[~2012-07-23  3:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-22 13:52 [gentoo-user] eix needs GLIBCXX_3.4.xxx David Relson
2012-07-22 16:23 ` Volker Armin Hemmann
2012-07-22 17:41   ` David Relson
2012-07-22 23:33     ` [gentoo-user] " walt
2012-07-23  3:15       ` David Relson

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