FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-22-2012, 01:52 PM
David Relson
 
Default eix needs GLIBCXX_3.4.xxx

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)
 
Old 07-22-2012, 04:23 PM
Volker Armin Hemmann
 
Default eix needs GLIBCXX_3.4.xxx

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
 
Old 07-22-2012, 05:41 PM
David Relson
 
Default eix needs GLIBCXX_3.4.xxx

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
 
Old 07-22-2012, 11:33 PM
walt
 
Default eix needs GLIBCXX_3.4.xxx

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.
 
Old 07-23-2012, 03:15 AM
David Relson
 
Default eix needs GLIBCXX_3.4.xxx

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
 

Thread Tools




All times are GMT. The time now is 11:39 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org