Re: Compilation and Installation QuantLib 0.3.11
Posted by L.Isella on
URL: http://quantlib.414.s1.nabble.com/Compilation-and-Installation-QuantLib-0-3-11-tp4417p4418.html
On Wed, 2006-01-25 at 10:02 +0000, eric ehlers wrote:
export $LD_LIBRARY_PATH=/usr/local/lib
>
I did as you suggest.
This way, g++ correctly sees the 0.3.11 QuantLib version and everything goes fine, but if I copy the file into another directory, well, I have to go through this again.
In particular, the command:
sudo ldconfig
simply returns the prompt to me (as far as I can see, I do not know what it does in detail), so there is no need of the exit command (which closes the console).
I also tried:
g++ simple-option.cc /usr/local/lib/libQuantLib.a
lorenzo@mypc:~/Temp$ ./a.out
0.3.11
Black-Scholes value: 0.0823425
So, apart from the funny thing that my system does not remember the location of the quantlib library, I can finally get it working.
It is not too much of a hassle to give the library path and I can now use it inside my IDE.
Thanks a lot.
Lorenzo