Created
March 19, 2020 09:28
-
-
Save ba0f3/1aa0a6269cac286ddfd871bef43c9817 to your computer and use it in GitHub Desktop.
Compile GlibC 2.14 on Centos 6, copied from https://unix.stackexchange.com/a/299665
This file contains 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
#!/bin/bash | |
mkdir ~/glibc_install; cd ~/glibc_install | |
wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz | |
tar zxvf glibc-2.14.tar.gz | |
cd glibc-2.14 | |
mkdir build | |
cd build | |
../configure --prefix=/opt/glibc-2.14 | |
make -j4 | |
sudo make install | |
export LD_LIBRARY_PATH="/opt/glibc-2.14/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment