The "Libc.so.6:version ' glibc_2.15 ' not found" issue occurs because the GLIBC version is too low to upgrade GLIBC.
Because the CentOS system RPM source is currently glibc the highest version is 2.12, it can only be used to upgrade the source code
First, check the system glibc supported version
Strings/lib64/libc.so. 6 | grep GLIBC
#查看当前glibc版本
Libc-2.12.so
Second, download glibc source package
cd/usr/src/wget http://mirror.bjtu.edu.cn/gnu/glibc/glibc-2.15.tar.gzwget http://mirror.bjtu.edu.cn/gnu/glibc/glibc-ports-2.15.tar.gz #glibc插件
Third, decompression installation upgrade glibc
TarZXVF glibc-2.15.Tar. GZTarZXVF glibc-ports-2.15.Tar. GZMVglibc-ports-2.15glibc-2.15/PortsmkdirBUILDCD Build :/glibc-2.15/configure--prefix=/usr--disable-profile--enable-add-ons--with-headers=/usr/include--with-binutils=/usr/bin Make-J4 Make Install
Iv. Verification
View supported versions of the current system glibc
Strings/lib64/libc.so. 6 | grep GLIBC
View current GLIBC version
Ll/lib64/libc.so. 6 1 root root/lib64/libc.so. 6 libc-2.15.so
V. Accidental deletion of libc.so.6 solutions
The command line executes as follows:
#LD_PRELOAD =/lib/libc-2.12ln -s/lib/libc-2.12. So lib/libc.so. 6
"Problem" CentOS6.5 system "libc.so.6:version ' glibc_2.15 ' not found" workaround