Login  Register

QuantLib + boost 1.55

Posted by Vasiliy Afonin on Dec 10, 2013; 3:43pm
URL: http://quantlib.414.s1.nabble.com/QuantLib-boost-1-55-tp14715.html

Hello,

I am using OS X 10.9(I am also newbie in unix); boost 1.55+no_single+no_static+python27 and I am trying to make QuantLib work on python 2.7. 

I follow the same procedure as in QuantLib OS X installation and I have the following warning during ./configure of QuantLib:

checking for Boost unit-test framework... no
configure: WARNING: Boost unit-test framework not found.
configure: WARNING: The test suite will be disabled.

I looked on the Internet and found a thread with the same problem http://help.lockergnome.com/linux/Bug-425923-quantlib-FTBFS-boost-libraries--ftopict452445.html. However, it was long ago and as far as I understood the problem was associated with 'new' boost 1.34 and was solved by an update. 
 
After the installation of QuantLib. I install swig without perl java and ruby(there were some problems with them during making). 
I run python setup.py test and get an error:

ImportError: dlopen(build/lib.macosx-10.5-x86_64-2.7/QuantLib/_QuantLib.so, 2): Symbol not found: __ZThn104_N8QuantLib19CappedFlooredCoupon6updateEv
  Referenced from: build/lib.macosx-10.5-x86_64-2.7/QuantLib/_QuantLib.so
  Expected in: dynamic lookup

I also tried to use pyql and got a similar error while testing:
quantlib.test.test_bonds (unittest.loader.ModuleImportFailure) ... ERROR
test_iteration_on_date_list (quantlib.test.test_calendar.TestDateList) ... ok
test_adjust_business_day (quantlib.test.test_calendar.TestQuantLibCalendar) ... make: *** [tests] Segmentation fault: 11
 
I think that these errors are binded somehow. It seems that boost works inappropriately.
Could you please help me to solve this problem?
Best,
Vasily

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev