Skip to content

  • Home
  • Résumé

Add non standard path to ld.so lookup


setenv LD_LIBRARY_PATH "/path/to/lib/dir:$LD_LIBRARY_PATH"


export LD_LIBRARY_PATH="/path/to/lib/dir:$LD_LIBRARY_PATH"


echo /path/to/lib/dir >> /etc/ld.so.conf
lddconfig

For help, with either features of dynamic linking or the location of the config file on your system, consult the man mages.

man ld.so
man ldconfig

LD_LIBRARY_PATHld.soldconfiglddlibrarylibrary pathlinuxRHEL
July 24, 2012 matt Administration / Programming
Powered by WordPress and zeePersonal.