Archív značiek: ldd

configure, LDD, using so library

error while loading shared libraries: cannot open shared object file: Error 40
(link to it is wrong, ll on it)

error while loading shared libraries: cannot open shared object file: No such file or directory
( it is not in the system, add it)

so you want to use .so library from internet.
first – library is probably not stored in system path.
use ‚locate thatlib.so‘. If nothing is printed – it is not in the system.
Add it:

sudo ln -s $PWD/libmylib.so.666 /usr/lib/libmylib.so

then fix up the locator:

sudo updatedb

and test locator

locate libmylib.so

you can also try to see if its dependencies are met:

ldd libmylib.so

That’s it.