For Libraries installed from source you have to run ldconfig, packagemanagers do this for you. But if you build a library from source you have to run
./configure
make
make install
but also
ldconfig
and both make install
and ldconfig
should be done as superuser
man ldconfig
can tell you way more about caching and updating the libraries then I can.