|
From: Thompson M. <ma...@st...> - 2016-08-28 11:44:04
|
Dear Quantlib Maintainers, I’m an analyst trying to set QuantLib with Anaconda Python up on Mac OSX El Capitan 10.11.6. 0. After some strange ac file errors compiling, and a compile with pointer errors under testing, I finally got the lastest version of QuantLib to compile with “brew”. 1. brew currently defaults to 1.7 I got brew to compile 1.8 by modifying the ruby formula. 2. The quantlib test-suite reports all tests passed — A. I downloaded Quantlib-SWIG 1.8 and compiled and installed it. B. I got a strange symbol when trying to import the library in python: ImportError: dlopen(/Users/mark/anaconda/lib/python3.5/site-packages/QuantLib/_QuantLib.cpython-35m-darwin.so, 2): Symbol not found: __ZN8QuantLib10DateParser14parseFormattedERKSsS2_ Referenced from: /Users/mark/anaconda/lib/python3.5/site-packages/QuantLib/_QuantLib.cpython-35m-darwin.so Expected in: flat namespace in /Users/mark/anaconda/lib/python3.5/site-packages/QuantLib/_QuantLib.cpython-35m-darwin.so C. I get a similar error in when running the tests included in the Python director of QuantLib-SWIG-1.8. D. I read that Removed DateParser::split method (deprecated in version 1.6). is this related? I’d be happy to write a detailed OSX guide for 1.8 as the instructions, but would need help solving this last issue which I now think has to do with this DateParser change. Any hints or suggestions? |