Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is documented in the elf specification (however I agree it should be documented or preferably excised from ld.so)

http://www.sco.com/developers/gabi/latest/ch5.dynamic.html#s...

The dynamic array tag DT_RUNPATH gives a string that holds a list of directories, separated by colons (:). For example, the string /home/dir/lib:/home/dir2/lib: tells the dynamic linker to search first the directory /home/dir/lib, then /home/dir2/lib, and then the current directory to find dependencies.

The following values would be equivalent to the previous example:

LD_LIBRARY_PATH=/home/dir/usr/lib:/home/dir2/usr/lib:



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: