mkdir ~/glibc_install; cd ~/glibc_install
wget https://ftp.gnu.org/gnu/glibc/glibc-2.17.tar.gz
tar zxvf glibc-2.17.tar.gz
cd glibc-2.17
mkdir build
cd build
../configure --prefix={custom path}/glibc-2.17
make -j8
make install
Export dynamic library path using the command below will make most commands unavailable:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:{custom path}/glibc-2.17/lib/
Therefore, use this command to launch programs which require glibc-2.17(e.g. liftOver):
{custom path}/glibc-2.17/lib/ld-2.17.so {program name}
Leave a Reply