Potential Bug

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Potential Bug

Thompson  Mark
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?




------------------------------------------------------------------------------

_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Potential Bug

Luigi Ballabio
Hello,
    I'm not sure about DateParser; the linker complains about a function which was not removed. It might just be a coincidence.
May you check that the location of `libQuantLib.so` (that you build and installed with brew) is in your `LD_LIBRARY_PATH` environment variable?

Luigi


On Mon, Aug 29, 2016 at 11:04 AM Thompson Mark <[hidden email]> wrote:
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?



------------------------------------------------------------------------------
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev

------------------------------------------------------------------------------

_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Loading...