代码:
wget ftp.gnu.org/gnu/glibc/glibc-2.17.tar.gz
tar zxvf glibc-2.17.tar.gz
cd glibc-2.17
cd ..
mkdir build
cd build
../configure --prefix=/opt/glibc-2.17
make
make install
但是,在从源代码在单独的目录/opt/glibc-2.17中安装glibc-2.17之后,最后再安装之后:
export LD_LIBRARY_PATH=/opt/glibc-2.17/lib
或者:
export LD_LIBRARY_PATH=/o