sudo crle -u -l /usr/local/lib
this command will add /usr/local/lib to the dynamic linker's search path.