Update From RPMs (Recommended)
- Download RPMs
https://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/ - Install RPMs
sudo rpm -Uvh glibc-2.17*.rpm
You might encounter some error like “error: Failed dependencies:…”.
To fix it just add this parameter--force --nodeps
at the end of the rpm command.
After finished up let’s check what versions of GLIBC we are having now.
strings /lib64/libc.so.6 | grep GLIBC
orsudo yum list | grep -i glibc
Update From Source Code
- Download: http://ftp.gnu.org/gnu/glibc/glibc-2.17.tar.gz.
- Compile and Install
1
2
3
4
5
6
7
8% tar xvf glibc-2.17.tar.gz
% cd glibc-2.17
% mkdir build
% cd build
% ../configure --prefix=/opt/glibc-2.17
% make
% sudo make install
% setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/opt/glibc-2.17