On 06/03/2008, <b class="gmail_sendername">Jerome Soulabaille</b> <<a href="mailto:jerome.soulabaille@vegatechnologies.fr">jerome.soulabaille@vegatechnologies.fr</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br> <br> My system is a RedHat EL 4.6 64Bit.<br> <br> 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 :<br> <br> lib****.so: undefined reference to ... @GLIBCXX_3.4.4'<br>
 <br> If I type the following command line :<br> <br> rpm -q -i --provides -l libstdc++<br> <br> I got :<br> <br> Name        : libstdc++                    Relocations: (not relocatable)<br> Version     : 3.4.6                             Vendor: Red Hat, Inc.<br>
 Release     : 9                             Build Date: jeu 19 jui 2007 19:36:09 CEST<br> Install Date: mer 30 jan 2008 15:11:55 CET      Build Host: <a href="http://ls20-bc1-13.build.redhat.com">ls20-bc1-13.build.redhat.com</a><br>
 Group       : Environnement système/Bibliothèques   Source RPM: gcc-3.4.6-9.src.rpm<br> Size        : 792856                           License: GPL<br> Signature   : DSA/SHA1, mar 02 oct 2007 17:45:33 CEST, Key ID 219180cddb42a60e<br>
 Packager    : Red Hat, Inc. <<a href="http://bugzilla.redhat.com/bugzilla">http://bugzilla.redhat.com/bugzilla</a>><br> URL         : <a href="http://gcc.gnu.org">http://gcc.gnu.org</a><br> Summary     : Bibliothèque standard C++ v3 de GNU.<br>
 Description :<br> Le paquetage libstdc++ contient un instantané de la bibliothèque Standard<br> C++ v3 de GNU, un projet en cours pour mettre en oeuvre la bibliothèque<br> standard C++ ISO 14882.<br> libstdc++ = 3.4.3-26<br>
 libstdc++.so.6<br> libstdc++.so.6(CXXABI_1.3)<br> libstdc++.so.6(CXXABI_1.3.1)<br> libstdc++.so.6(GLIBCXX_3.4)<br> libstdc++.so.6(GLIBCXX_3.4.1)<br> libstdc++.so.6(GLIBCXX_3.4.2)<br> libstdc++.so.6(GLIBCXX_3.4.3)<br> libstdc++34<br>
 libstdc++ = 3.4.6-9<br> /usr/lib/libstdc++.so.6<br> /usr/lib/libstdc++.so.6.0.3<br> Name        : libstdc++                    Relocations: (not relocatable)<br> Version     : 3.4.6                             Vendor: Red Hat, Inc.<br>
 Release     : 9                             Build Date: jeu 19 jui 2007 19:39:36 CEST<br> Install Date: mer 30 jan 2008 15:11:55 CET      Build Host: <a href="http://ls20-bc2-14.build.redhat.com">ls20-bc2-14.build.redhat.com</a><br>
 Group       : Environnement système/Bibliothèques   Source RPM: gcc-3.4.6-9.src.rpm<br> Size        : 908368                           License: GPL<br> Signature   : DSA/SHA1, mar 02 oct 2007 17:45:38 CEST, Key ID 219180cddb42a60e<br>
 Packager    : Red Hat, Inc. <<a href="http://bugzilla.redhat.com/bugzilla">http://bugzilla.redhat.com/bugzilla</a>><br> URL         : <a href="http://gcc.gnu.org">http://gcc.gnu.org</a><br> Summary     : Bibliothèque standard C++ v3 de GNU.<br>
 Description :<br> Le paquetage libstdc++ contient un instantané de la bibliothèque Standard<br> C++ v3 de GNU, un projet en cours pour mettre en oeuvre la bibliothèque<br> standard C++ ISO 14882.<br> libstdc++ = 3.4.3-26<br>
 libstdc++.so.6()(64bit)<br> libstdc++.so.6(CXXABI_1.3)(64bit)<br> libstdc++.so.6(CXXABI_1.3.1)(64bit)<br> libstdc++.so.6(GLIBCXX_3.4)(64bit)<br> libstdc++.so.6(GLIBCXX_3.4.1)(64bit)<br> libstdc++.so.6(GLIBCXX_3.4.2)(64bit)<br>
 libstdc++.so.6(GLIBCXX_3.4.3)(64bit)<br> libstdc++34<br> libstdc++ = 3.4.6-9<br> /usr/lib64/libstdc++.so.6<br> /usr/lib64/libstdc++.so.6.0.3<br> <br> <br> <br> <br> The problem, I think, is that libstdc++.so.6(GLIBCXX_3.4.4) is missing.<br>
 <br> But I've got the latest version of the rpm package libstdc++ (3.4.6-9) for RedHat EL 4.<br> <br> 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) ?<br>
 <br> <br> Thanks,<br> Jerome<br> <br> </blockquote></div><br>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?<br clear="all"><br>$ less libstdc++-3.4.6-9.x86_64.rpm  <br>
Name        : libstdc++                    Relocations: (not relocatable)<br>Version     : 3.4.6                             Vendor: Red Hat, Inc.<br>Release     : 9                             Build Date: Thu 19 Jul 2007 07:39:36<br>
 PM CEST<br>Install Date: (not installed)               Build Host: ls20-bc2-14.build.redhat<br>.com<br>Group       : System Environment/Libraries   Source RPM: gcc-3.4.6-9.src.rpm<br>Size        : 908368                           License: GPL<br>
Signature   : DSA/SHA1, Tue 02 Oct 2007 05:45:38 PM CEST, Key ID 219180cddb42a60<br>e<br>Packager    : Red Hat, Inc. <<a href="http://bugzilla.redhat.com/bugzilla">http://bugzilla.redhat.com/bugzilla</a>><br>URL         : <a href="http://gcc.gnu.org">http://gcc.gnu.org</a><br>
Summary     : GNU Standard C++ Library<br>Description :<br>The libstdc++ package contains a rewritten standard compliant GCC Standard<br>C++ Library.<br>(...) history list omitted<br>lrwxrwxrwx    1 root    root               18 Jul 19  2007 /usr/lib64/libstdc++.<br>
so.6 -> libstdc++.so.6.0.3<br>-rwxr-xr-x    1 root    root           908368 Jul 19  2007 /usr/lib64/libstdc++.<br>so.6.0.3<br><br>Kind regards,<br><br>Herta<br>-- <br>"Life on Earth may be expensive, <br> but it comes with a free ride around the Sun."