Tech Journal Back to Tech Journal

Program says it can't find library, or some other lib problem

First of all, make sure the library is somewhere correct (usually any path with 'lib' in the structure is good.) One common problem is programs placing libs in /usr/local/lib when that directory isn't in /etc/ld.so.conf. Either way, once you're sure the library is where is should be (and will stay there), verify that the directory you have chosen is listed in the file /etc/ld.so.conf, and then run ldconfig. It takes a while, but it updates the lib info into the OS. That's it.

Last updated on 2000-12-12 14:00:00 -0700, by Shalom Craimer

Back to Tech Journal