running my program with shared libraries

JR zorael at gmail.com
Tue Apr 8 13:41:18 PDT 2014


On Sunday, 6 April 2014 at 02:49:15 UTC, Adam D. Ruppe wrote:
> LD_LIBRARY_PATH tells it where to find the shared library 
> files. Without it, the system only searches the global 
> directories like /usr/lib.

To list said directories;

     ldconfig -v 2>/dev/null | grep '^/'

You can add your own paths via *.conf files in /etc/ld.so.conf/. 
Just text files listing absolute paths, delimited by newlines.


More information about the Digitalmars-d-learn mailing list