[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "error while loading shared libraries: foo.so.0: cannot open shared
Re: "error while loading shared libraries: foo.so.0: cannot open shared object file: No such file or directory"
Mon, 17 Dec 2007 00:39:41 +0000
Laurence Darby wrote:
> Alright, for reproducibility, here is a small example,
> inotify-tools-3.12.tar.gz. Firstly please run
> # locate libinotifytools.so | xargs rm
> so there is zero chance of hiding the error with stale libraries
> hiding somewhere on the system.
I forgot: after executing the above, you also need to run ldconfig to
update the cache. If this isn't done, after the make install, the
"stale" cache may still have a reference which points to the newly
installed lib and you wont see the error.