解决 /lib64/libc.so.6: version `GLIBC_2.17' not found
下载glibc-2.17.tar.gz
http://ftp.gnu.org/gnu/libc/glibc-2.17.tar.gz
上传到/usr/local目录下面
运行命令
cd /usr/local
tar -zxvf glibc-2.17.tar.gz
cd /usr/local/glibc-2.17
mkdir build
cd build
../configure –prefix=/usr –disable-profile –enable-add-ons –with-headers=/usr/include –with-binutils=/usr/bin
make
make install
查看glib详情,执行:
strings /lib64/libc.so.6 |grep GLIBC_