centos6报/lib64/libc.so.6: version `GLIBC_2.14′ not found解决方法
下载glibc-2.14:
http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
解压:
tar glibc-2.14.tar.gz
切换目录到glibc-2.14:
cd glibc-2.14
创建目录:
mkdir build cd build
配置目录:
../configure --prefix=/usr/local/glibc-2.14
编译安装:
make -j4 make install
临时修改环境变量:
export LD_LIBRARY_PATH=/usr/local/glibc-2.14/lib:$LD_LIBRARY_PATH
删除软连接:
rm /lib64/libc.so.6
创建软连接:
ln -s /usr/local/glibc-2.14/lib/libc-2.14.so /lib64/libc.so.6
[root@lgh lib64]$ ll /lib64/libc*
lrwxrwxrwx 1 root root 38 3月 19 16:11 /lib64/libc.so.6 -> /usr/local/glibc-2.14/lib/libc-2.14.so