Re: Libstdc++.so.6 (GLIBCXX_3.4.4) problem

"Herta Van den Eynde" <[email protected]>
Newsgroups gmane.linux.redhat.rhn.user
Message-ID <[email protected]>
On 06/03/2008, Jerome Soulabaille <[email protected]>
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."

_______________________________________________
rhn-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhn-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.