Compile and configure quantlib in linux-general Linux technology-Linux programming and kernel information. For more information, see the following. Quantlib is a free and open-source financial library written in C ++.
In sourceforge (http://sourceforge.net/project/showfiles.php? Group_id = 12740) download the package QuantLib. The current version is 0.9.6.
Start Installation
Quantlib requires boost support. Most inux releases already have boost installed in advance, so you don't have to worry about it.
$ Tar zxvf QuantLib-0.9.6.tar.gz
$ QuantLIb-0.9.6 cd
$./Configure
$ Make
$ Sudo make install
It takes some time to compile. Please wait.
After that, you can see libQuantLib. a and libQuantLib. so under/usr/local/lib, which are static and shared libraries of quantlib.
Enter export LD_LIBRARY_PATH =/usr/local/lib
Test below, re-enter the QuantLib-0.9.6, is the directory we extract