From: Andreas S. <an...@sp...> - 2009-11-28 10:58:47
|
Am 27.11.2009 18:06, schrieb pajofego: > 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 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? Rgds, Andreas |