Failure to build test-suite in QuantLib-1.3

classic Classic list List threaded Threaded
3 messages Options
nim
Reply | Threaded
Open this post in threaded view
|

Failure to build test-suite in QuantLib-1.3

nim
Hi,

I was trying to build QuantLib-1.3. I am using boost_1_55_0. I could build boost and configure quantlib with boost. When I do make and make install it works fine. But when I do a make check I get the below error:  

/../../BOOST_QLib/QuantLib-1.3/test-suite/.libs/lt-quantlib-test-suite: error while loading shared libraries: libboost_unit_test_framework.so.1.55.0: cannot open shared object file: No such file or directory

I have followed the below steps:

cd boost_1_55_0
./bootstrap.sh --prefix=/home/nimisha/BOOST_QLib/boost_1_55_0/
./b2 install
export PATH=$PATH:/home/nimisha/BOOST_QLib/boost_1_55_0/

cd QuantLib-1.3

sudo ./configure -with-boost-include=/home/nimisha/BOOST_QLib/boost_1_55_0/include/ -with-boost-lib=/home/nimisha/BOOST_QLib/boost_1_55_0/lib

sudo make

sudo make install


sudo make check


Please let me know if I am missing something?


Thanks,
Nimisha

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Failure to build test-suite in QuantLib-1.3

Peter Caspers-4
Hi Nimisha,

you could check two things. Is the file in question actually existing
in /home/nimisha/BOOST_QLib/boost_1_55_0/lib, and if yes is this
directory on your LD_LIBRARY_PATH ?

Peter

On 15 August 2014 00:43, nimisha raut <[hidden email]> wrote:

> Hi,
>
> I was trying to build QuantLib-1.3. I am using boost_1_55_0. I could build
> boost and configure quantlib with boost. When I do make and make install it
> works fine. But when I do a make check I get the below error:
>
> /../../BOOST_QLib/QuantLib-1.3/test-suite/.libs/lt-quantlib-test-suite:
> error while loading shared libraries:
> libboost_unit_test_framework.so.1.55.0: cannot open shared object file: No
> such file or directory
>
> I have followed the below steps:
>
> cd boost_1_55_0
> ./bootstrap.sh --prefix=/home/nimisha/BOOST_QLib/boost_1_55_0/
> ./b2 install
> export PATH=$PATH:/home/nimisha/BOOST_QLib/boost_1_55_0/
>
> cd QuantLib-1.3
>
> sudo ./configure
> -with-boost-include=/home/nimisha/BOOST_QLib/boost_1_55_0/include/
> -with-boost-lib=/home/nimisha/BOOST_QLib/boost_1_55_0/lib
>
> sudo make
>
> sudo make install
>
>
> sudo make check
>
>
> Please let me know if I am missing something?
>
>
> Thanks,
> Nimisha
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> QuantLib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Fwd: Failure to build test-suite in QuantLib-1.3

Peter Caspers-4
oh, and the configure parameters are with two minus signs, i.e. "--with..."

---------- Forwarded message ----------
From: Peter Caspers <[hidden email]>
Date: 24 August 2014 13:08
Subject: Re: [Quantlib-dev] Failure to build test-suite in QuantLib-1.3
To: nimisha raut <[hidden email]>
Cc: QuantLib Mailing Lists <[hidden email]>


Hi Nimisha,

you could check two things. Is the file in question actually existing
in /home/nimisha/BOOST_QLib/boost_1_55_0/lib, and if yes is this
directory on your LD_LIBRARY_PATH ?

Peter

On 15 August 2014 00:43, nimisha raut <[hidden email]> wrote:

> Hi,
>
> I was trying to build QuantLib-1.3. I am using boost_1_55_0. I could build
> boost and configure quantlib with boost. When I do make and make install it
> works fine. But when I do a make check I get the below error:
>
> /../../BOOST_QLib/QuantLib-1.3/test-suite/.libs/lt-quantlib-test-suite:
> error while loading shared libraries:
> libboost_unit_test_framework.so.1.55.0: cannot open shared object file: No
> such file or directory
>
> I have followed the below steps:
>
> cd boost_1_55_0
> ./bootstrap.sh --prefix=/home/nimisha/BOOST_QLib/boost_1_55_0/
> ./b2 install
> export PATH=$PATH:/home/nimisha/BOOST_QLib/boost_1_55_0/
>
> cd QuantLib-1.3
>
> sudo ./configure
> -with-boost-include=/home/nimisha/BOOST_QLib/boost_1_55_0/include/
> -with-boost-lib=/home/nimisha/BOOST_QLib/boost_1_55_0/lib
>
> sudo make
>
> sudo make install
>
>
> sudo make check
>
>
> Please let me know if I am missing something?
>
>
> Thanks,
> Nimisha
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> QuantLib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev