/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found
Hi Guys,
I'm running RHEL6 and Centos 6 and I get the following error /lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found on one of the programs I need to run on the system. I'm currently at gcc version 4.7.0. When i do the following command "strings /usr/lib/libstdc++.so.6 | grep GLIBCXX" I get: so it looks like 3.4.15 is there. Any ideas on how I can correct this issue? GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_FORCE_NEW GLIBCXX_DEBUG_MESSAGE_LENGTH |
Hi,
GLIBCXX_3.4.15 file is in package gcc. Try to extract the same file from the gcc package and again paste it in its particular location. It should work then. |
Quote:
Do you mean reinstall the gcc rpm? |
No, not to re-install the gcc package.
Just extract the gcc package and there would be a file "GLIBCXX_3.4.15" there. Paste that file at that location where all other such files are there. |
The "libstdc++-so.6" from gcc-4.7.0 should do OK.
? May be the libstdc++-so.6 in /usr/lib/ is the EL6 default ? I.e the libstdc++.so.6 from gcc version 4.4.6 ? A reinstall of gcc (-4.4.6) will not work. Neither will a reinstall of libstdc++. The object GLIBCXX_3.4.15 is from a gcc version 4.6 or later, I think. Quote:
( i686 or x86_64 ) . |
Quote:
|
Your post # 1 says : ""I'm currently at gcc version 4.7.0.""
So I assumed, you had gcc-4.7.0 installed. Firefox : Is it version 14 ? Replacing libstdc++-so.6 with a later version that works in EL6: Unpack libstdc++6_4.7.1-2_i386.deb http://ftp.de.debian.org/debian/pool...7.1-2_i386.deb with : ar -x libstdc++6_4.7.1-2_i386.deb && tar xvf data.tar.gz Next : 1) su ; 2) cp libstdc++.so.6.0.17 /usr/lib/ 3) cd /usr/lib/ && rm libstdc++.so.6 4) ln -s libstdc++.so.6.17 libstdc++.so.6 Reason for suggesting the Debian package : It's a ( gcc ) libstdc++ version that's compiled with a glibc old enugh to be used in EL6 / CentOS 6. . |
Quote:
Thanks again! |
The 32bits CentOS 6.3 :
Firefox 14.0.1 works OK here with libstdc++.so.6 -> libstdc++.so.6.17 from the package libstdc++6_4.7.1-2_i386.deb. (You can of course also use the libstdc++.so.6.17 from your gcc-4.7 install.) . |
All times are GMT -5. The time now is 10:21 AM. |