The Unix operating system usually looks at the environment variable LD_LIBRARY_PATH to search the directories in the path for the library. Try issuing these commands:
echo $LD_LIBRARY_PATH
If the path does not include /usr/local/lib, then (in ksh, for example), type:
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
You can put this in your login script so that you do not have to issue this command every time.
echo $LD_LIBRARY_PATH
If the path does not include /usr/local/lib, then (in ksh, for example), type:
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
You can put this in your login script so that you do not have to issue this command every time.