安装glibc2.14
Tar xf glibc-2.14.tar.gz
Cd glibc-2.14
Mkdir build
Cd build
../configure –prefix=/opt/glibc-2.14
Make –j4
Make install
添加临时变量:
export LD_LIBRARY_PATH=/opt/glibc-2.14/lib:$LD_LIBRARY_PATH
[root@localhost ~]# mv /lib64/libc.so.6 /lib64/libc.so.6.bak
[root@localhost ~]# ln -s /opt/glibc-2.14/lib/libc-2.14.so /lib64/libc.so.6
[root@localhost ~]# strings /lib64/libc.so.6 | grep GLIBC_
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_PRIVATE
[root@localhost ~]#