I've tried installing from source some libraries which end up in /usr/local. When running programs that make use of these libraries, I find that I can't access them---the system doesn't search /usr/local/lib for shared library files.
How do I make it do this?
I know that one way is to use add export LD_LIBRARY_PATH = /usr/local/lib:$LD_LIBRARY_PATH to my .bashrc_profile, but I was wondering if there's a more general way that simply tells the whole system to search /usr/local/lib as well as /usr/lib.
As a related question, what command do I use to find out what the library path currently is?
Many thanks,
-- Joe
Bookmarks