[rhn-users] Libstdc++.so.6 (GLIBCXX_3.4.4) problem

Herta Van den Eynde herta.vandeneynde at gmail.com
Thu Mar 6 10:22:10 UTC 2008


On 06/03/2008, Jerome Soulabaille <jerome.soulabaille at vegatechnologies.fr>
wrote:
>
> Hi all,
>
> My system is a RedHat EL 4.6 64Bit.
>
> I am trying to use a library that was compiled with gcc4 (64bit) and when
> I try to link a program with it, I got the following errors :
>
> lib****.so: undefined reference to ... @GLIBCXX_3.4.4'
>
> If I type the following command line :
>
> rpm -q -i --provides -l libstdc++
>
> I got :
>
> Name        : libstdc++                    Relocations: (not relocatable)
> Version     : 3.4.6                             Vendor: Red Hat, Inc.
> Release     : 9                             Build Date: jeu 19 jui 2007
> 19:36:09 CEST
> Install Date: mer 30 jan 2008 15:11:55 CET      Build Host:
> ls20-bc1-13.build.redhat.com
> Group       : Environnement système/Bibliothèques   Source RPM:
> gcc-3.4.6-9.src.rpm
> Size        : 792856                           License: GPL
> Signature   : DSA/SHA1, mar 02 oct 2007 17:45:33 CEST, Key ID
> 219180cddb42a60e
> Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
> URL         : http://gcc.gnu.org
> Summary     : Bibliothèque standard C++ v3 de GNU.
> Description :
> Le paquetage libstdc++ contient un instantané de la bibliothèque Standard
> C++ v3 de GNU, un projet en cours pour mettre en oeuvre la bibliothèque
> standard C++ ISO 14882.
> libstdc++ = 3.4.3-26
> libstdc++.so.6
> libstdc++.so.6(CXXABI_1.3)
> libstdc++.so.6(CXXABI_1.3.1)
> libstdc++.so.6(GLIBCXX_3.4)
> libstdc++.so.6(GLIBCXX_3.4.1)
> libstdc++.so.6(GLIBCXX_3.4.2)
> libstdc++.so.6(GLIBCXX_3.4.3)
> libstdc++34
> libstdc++ = 3.4.6-9
> /usr/lib/libstdc++.so.6
> /usr/lib/libstdc++.so.6.0.3
> Name        : libstdc++                    Relocations: (not relocatable)
> Version     : 3.4.6                             Vendor: Red Hat, Inc.
> Release     : 9                             Build Date: jeu 19 jui 2007
> 19:39:36 CEST
> Install Date: mer 30 jan 2008 15:11:55 CET      Build Host:
> ls20-bc2-14.build.redhat.com
> Group       : Environnement système/Bibliothèques   Source RPM:
> gcc-3.4.6-9.src.rpm
> Size        : 908368                           License: GPL
> Signature   : DSA/SHA1, mar 02 oct 2007 17:45:38 CEST, Key ID
> 219180cddb42a60e
> Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
> URL         : http://gcc.gnu.org
> Summary     : Bibliothèque standard C++ v3 de GNU.
> Description :
> Le paquetage libstdc++ contient un instantané de la bibliothèque Standard
> C++ v3 de GNU, un projet en cours pour mettre en oeuvre la bibliothèque
> standard C++ ISO 14882.
> libstdc++ = 3.4.3-26
> libstdc++.so.6()(64bit)
> libstdc++.so.6(CXXABI_1.3)(64bit)
> libstdc++.so.6(CXXABI_1.3.1)(64bit)
> libstdc++.so.6(GLIBCXX_3.4)(64bit)
> libstdc++.so.6(GLIBCXX_3.4.1)(64bit)
> libstdc++.so.6(GLIBCXX_3.4.2)(64bit)
> libstdc++.so.6(GLIBCXX_3.4.3)(64bit)
> libstdc++34
> libstdc++ = 3.4.6-9
> /usr/lib64/libstdc++.so.6
> /usr/lib64/libstdc++.so.6.0.3
>
>
>
>
> The problem, I think, is that libstdc++.so.6(GLIBCXX_3.4.4) is missing.
>
> But I've got the latest version of the rpm package libstdc++ (3.4.6-9) for
> RedHat EL 4.
>
> Does I need to upgrade my system to RedHat 5 or can I find an other rpm
> package, more recent, that could provide me libstdc++.so.6(GLIBCXX_3.4.4) ?
>
>
> Thanks,
> Jerome
>
>
Curious.  If you download libstdc++-3.4.6-9.x86_64.rpm from RHN, it does
contain libstdc++.so.6.  Maybe re-install the package?

$ less libstdc++-3.4.6-9.x86_64.rpm
Name        : libstdc++                    Relocations: (not relocatable)
Version     : 3.4.6                             Vendor: Red Hat, Inc.
Release     : 9                             Build Date: Thu 19 Jul 2007
07:39:36
 PM CEST
Install Date: (not installed)               Build Host:
ls20-bc2-14.build.redhat
.com
Group       : System Environment/Libraries   Source RPM: gcc-3.4.6-9.src.rpm
Size        : 908368                           License: GPL
Signature   : DSA/SHA1, Tue 02 Oct 2007 05:45:38 PM CEST, Key ID
219180cddb42a60
e
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://gcc.gnu.org
Summary     : GNU Standard C++ Library
Description :
The libstdc++ package contains a rewritten standard compliant GCC Standard
C++ Library.
(...) history list omitted
lrwxrwxrwx    1 root    root               18 Jul 19  2007
/usr/lib64/libstdc++.
so.6 -> libstdc++.so.6.0.3
-rwxr-xr-x    1 root    root           908368 Jul 19  2007
/usr/lib64/libstdc++.
so.6.0.3

Kind regards,

Herta
-- 
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20080306/3ab70f4f/attachment.htm>


More information about the rhn-users mailing list