1. install glibc-2.16 in CentOS 6.5
Some app need higher glibc. For ex. openmpi compiled on centos7 will cannot be run on centos6, but require GLIBC_2.16 to be installed on centos6
ERROR: /lib64/libc.so.6: version `GLIBC_2.16' not found
https://unix.stackexchange.com/questions/176489/how-to-update-glibc-to-2-14-in-centos-6-5
https://stackoverflow.com/questions/40932215/error-while-using-a-newer-version-of-glibc
https://stackoverflow.com/questions/40932215/error-while-using-a-newer-version-of-glibc
check the current glibc:
ldd --version
---------
ldd (GNU libc) 2.12
install: (Note: glibc-2.17 cause error and cannot run on centos6)
wget http://ftp.gnu.org/gnu/glibc/glibc-2.16.0.tar.gz
tar zxvf glibc-2.16.0.tar.gz
cd glibc-2.16.0
mkdir build
cd build
../configure --prefix=/uhome/p001cao/local/updateCentos6/glibc-2.16
make -j20
make install
make -j20
make install
create module updateCentos6/glibc-2.16
No comments:
Post a Comment