Login  Register

Re: error while loading shared libraries: libQuantLib-0.9.9.so

Posted by henaffp on Nov 30, 2009; 12:33am
URL: http://quantlib.414.s1.nabble.com/error-while-loading-shared-libraries-libQuantLib-0-9-9-so-tp8314p8317.html

OK, so libQuantlibLib-0.9.9.so is in the right directory, but the linker didn't find it (see output of
your ldd). Did you run

$ ldconfig

after creating the new library? This is needed to update the cache used by ld. See man page for ldconfig
for details.

Hope this help.


pajofego wrote
henaffp wrote
libQuantLib.so is a link to libQuantLib-x.x.x.so

try:
$ which libQuantLib.so
you should get
$ /usr/local/lib/libQuantLib.so
then
$ls -l /usr/local/lib/libQuantLib.so
and see what it is pointing to, is this file in your search path?

Hi here the output of your purpose:

which libQuantLib.so:
nothing -> how I can fix this

ls -l /usr/local/lib/libQuantLib.so gives:
/usr/local/lib/libQuantLib.so -> libQuantLib-0.9.9.so

Could this give you further informations?
Thanks in advance,
pajofego