If the 64-bit system error message is as follows:
/usr/lib64/libstdc++.so.6:version ' glibcxx_3.4.15 ' not found (required by
The reason is that there is no glibcxx_3.4.15 version, or a higher version.
Enter the command to query the results:
[Root@localhost ~]# strings/usr/lib/libstdc++.so.6 | grep glibcxx
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_force_new
Glibcxx_debug_message_length
We see that there is really no glibcxx_3.4.15 in the current GCC version.
The 64-bit system commands are:
[Root@localhost ~]# strings/usr/lib64/libstdc++.so.6 | grep glibcxx
64-bit system:
Http://ftp.de.debian.org/debian/pool/main/g/gcc-4.7/libstdc++6_4.7.2-5_amd64.deb
Assume that the downloaded file is placed in/data0/software/.
The 64-bit system is:
[Email protected] software]# Cd/data0/software/usr/lib/x86_64-linux-gnu
[email protected] x86_64-linux-gnu]# CP libstdc++.so.6.0.17/usr/lib64
[Email protected] x86_64-linux-gnu]#/usr/lib
[Email protected] lib64]# RM libstdc++.so.6
[Email protected] lib64]# LN libstdc++.so.6.0.17 libstdc++.so.6
Re-establish the soft connection, we then enter the command to query the results:
[Email protected] lib]# strings/usr/lib/libstdc++.so.6 | grep glibcxx
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_debug_message_length
The glibcxx_3.4.15 has been installed.
/usr/lib64/libstdc++.so.6:version ' glibcxx_3.4.15 ' not found