Forked from carlesloriente/compile-and-install-glibc_2.18-centos-7.sh
Created
March 8, 2022 04:56
-
-
Save trungx/d4cd651d579e340b76c6d2b09dd5359b to your computer and use it in GitHub Desktop.
Compile and install GLIBC 2.18 in CentOS 7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz | |
tar zxvf glibc-2.18.tar.gz | |
cd glibc-2.18 | |
mkdir build | |
cd build | |
../configure --prefix=/opt/glibc-2.18 | |
make -j4 | |
sudo make install | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/glibc-2.18/lib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment