Skip to content

Instantly share code, notes, and snippets.

@koy1619
Last active July 16, 2020 08:55
Show Gist options
  • Save koy1619/7136c88d415e39c339f08d46e19df897 to your computer and use it in GitHub Desktop.
Save koy1619/7136c88d415e39c339f08d46e19df897 to your computer and use it in GitHub Desktop.
#Danger!!!
#Danger!!!
#Danger!!!
#As a last resort, do not upgrade glibc!!!
wget http://ftp.gnu.org/gnu/glibc/glibc-2.15.tar.gz
cd glibc-2.15
mkdir build
cd build
../configure --prefix=/usr/local/glibc-2.15
make -j4
cp libc.so /lib64/libc-2.15.so
ll /lib64/libc.so.6
rm -rf /lib64/libc.so.6
LD_PRELOAD=/lib64/libc-2.15.so ln -s /lib64/libc-2.15.so /lib64/libc.so.6
strings /lib64/libc.so.6 | grep GLIBC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment