编译安装glibc
代码语言:javascript复制wget http://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz
tar xf glibc-2.18.tar.gz
cd glibc-2.18
mkdir build
cd build
../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin
make
make install
验证
代码语言:javascript复制strings /lib64/libc.so.6|grep GLIBC
查看库文件
代码语言:javascript复制ll /lib64/libc*