|
From: Vasiliy A. <va...@ne...> - 2013-12-10 16:38:42
|
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<http://quantlib.org/install/macosx.shtml> 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 |