Pages

Friday, 24 March 2017

彻底解决/lib64/libc.so.6: version `GLIBC_2.18' not found的问题

wget http://ftp.gnu.org/gnu/libc/glibc-2.18.tar.gz
tar zxvf glibc-2.18.tar.gz
cd glibc-2.18

mkdir build
cd build   
../configure --prefix=/usr
make -j2
make install
ldconfig
(注意:上面的安装目录千万不要设为/usr/local/glibc-2.18,否则你的系统会崩溃

参考http://blog.csdn.net/u010526125/article/details/72626285
https://www.jianshu.com/p/92c7a042d8ba
http://blog.csdn.net/cpplang/article/details/8462768 (不必看这篇了)



No comments:

Post a Comment