Login  Register

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

Posted by pajofego on Nov 28, 2009; 9:16pm
URL: http://quantlib.414.s1.nabble.com/error-while-loading-shared-libraries-libQuantLib-0-9-9-so-tp8314p8320.html

Andreas Spengler-2 wrote
Please try a "ldd ./gjrgarch" to see where the linker expects to find
libQuantLib-0.9.9.so

Where did you install this library? Is there possibly more than one
version of libQuantLib.so installed?
Here the output of ldd ./gjrgarch:
       
        linux-gate.so.1 =>  (0x00293000)
        libQuantLib-0.9.9.so => not found
        libstdc++.so.6 => /home/pajofego/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux/lib/libstdc++.so.6 (0x00bae000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x002cf000)
        libgcc_s.so.1 => /home/pajofego/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux/lib/libgcc_s.so.1 (0x0040e000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00110000)
        /lib/ld-linux.so.2 (0x00621000)



Before installing Quantlib 0.9.9 an older version were installed. So I've done a make uninstall of Quantlib 0.9.7.

Here the output of ls -l /usr/local/lib/libQuantLib*.*


-rw-r--r-- 1 root root 225587276 2009-07-05 21:59 /usr/local/lib/libQuantLib-0.9.7.a
-rw-r--r-- 1 root root 254175150 2009-11-27 07:16 /usr/local/lib/libQuantLib-0.9.9.a
-rwxr-xr-x 1 root root 115676159 2009-11-27 07:15 /usr/local/lib/libQuantLib-0.9.9.so
lrwxrwxrwx 1 root root        19 2009-11-27 07:16 /usr/local/lib/libQuantLib.a -> libQuantLib-0.9.9.a
-rwxr-xr-x 1 root root      1050 2009-11-27 07:15 /usr/local/lib/libQuantLib.la
lrwxrwxrwx 1 root root        20 2009-11-27 07:15 /usr/local/lib/libQuantLib.so -> libQuantLib-0.9.9.so