Skip to content

Instantly share code, notes, and snippets.

@fangdingjun
Last active March 16, 2017 03:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fangdingjun/36bc2407efd7bd73a52a72a701f20ed6 to your computer and use it in GitHub Desktop.
Save fangdingjun/36bc2407efd7bd73a52a72a701f20ed6 to your computer and use it in GitHub Desktop.
use new version of glibc for your own application

somes times run application on old system, the application requres newer glibc

you can just upgrade glibc for your own application, not system wide

download glibc form GNU website

build it

./configure --prefix=$HOME/myglibc
make
make install

set proper environment variable

export LD_LIBRARY_PATH=$HOME/myglibc/lib:$LD_LIBRARY_PATH

run your application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment