Login  Register

error while loading shared libraries: libQuantLib-0.9.9.so

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

Hello,

after updating to Ubuntu 9.10 it was necessary to install the new Quantlib wiht version 0.9.9. With the older version 0.9.7 I got no problems after starting the binary.

My example Makefile shows like this:

   g++ -DHAVE_CONFIG_H -I../cpp/QuantLib-0.9.9/ql  -g -O2 -Wall -c -o gjrgarch.o gjrgarch.cpp
        g++  -g -O2 -Wall -o gjrgarch gjrgarch.o -L/usr/local/lib/ -lQuantLib


The error message after typing ./gjrgarch is:

./gjrgarch: error while loading shared libraries: libQuantLib-0.9.9.so: cannot open shared object file: No such file or directory

How I can fix this problem?

Thanks in advance.
pajofego