Installing UNIX software in /usr/local

Viro

Registered
Hi,

I'm trying to get some Unix software installed in /usr/local. I've figured out how to add /usr/local/bin to the global path (by editing /etc/profile), but now I'm stuck on trying to get /usr/local/lib to be part of the library search path.

Anyone know what I should edit, variables I should add etc? I've tried looking for /etc/ld.so.conf but it ain't there.

Thanks in advance.
 
The system uses the DYLD_LIBRARY_PATH variable to look for shared libraries:

export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/lib
 
Back
Top