Thursday, November 7, 2019

some packages to update on Centos 6

Some packages need to update

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 

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 

create module updateCentos6/glibc-2.16

No comments:

Post a Comment