Giter Club home page Giter Club logo

Comments (6)

dpinte avatar dpinte commented on May 14, 2024

@BlueCollarWorker What is the output of otool -L on one of the built extensions.

Here is mine on the currency.so

DP-MBP:quantlib dpinte (fix-win-build) $ otool -L currency.so
currency.so:
    /usr/local/lib/libQuantLib.0.dylib (compatibility version 1.0.0, current version 1.0.0)
    /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 60.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)

from pyql.

BlueCollarWorker avatar BlueCollarWorker commented on May 14, 2024

Here is what I get:

otool -L currency.so

currency.so:

/opt/local/lib/libQuantLib.0.dylib (compatibility version 1.0.0, current
version 1.0.0)

/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version
60.0.0)

/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
1197.1.1)

I'll try to compile one module with few dependencies directly and see if I
get the same.

2014-09-16 18:07 GMT+02:00 Didrik Pinte [email protected]:

@BlueCollarWorker https://github.com/BlueCollarWorker What is the
output of otool -L on one of the built extensions.

Here is mine on the currency.so

DP-MBP:quantlib dpinte (fix-win-build) $ otool -L currency.so
currency.so:
/usr/local/lib/libQuantLib.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 60.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)


Reply to this email directly or view it on GitHub
#65 (comment).

from pyql.

dpinte avatar dpinte commented on May 14, 2024

@BlueCollarWorker The flat namespace just reminded me of something. How did you compile QuantLib? You need to make sure that you used the correct stdlib with clang otherwise, it will not work. From the installation notes (http://quantlib.org/install/macosx.shtml):

A note on Mac OS X 10.9 (Mavericks)

Users have reported linking problems under Mac OS X 10.9; the solution (thanks to Albert Azout for 
pointing it out) seems to be to set the environment flags CXXFLAGS and LDFLAGS to 
-stlib=libstdc++ -mmacosx-version-min=10.6
before compiling.

from pyql.

BlueCollarWorker avatar BlueCollarWorker commented on May 14, 2024

I thought I followed the very same instructions. QuantLib examples work, so
it seems to be installed ok. I will nonetheless try to re-install it using
http://stackoverflow.com/questions/23591929/installing-quantlib-on-ios-10-9
to make sure flags are set appropriately.

from pyql.

BlueCollarWorker avatar BlueCollarWorker commented on May 14, 2024

Just got it to work...

I installed all from scratch. In my first attempt, I installed boost using brew, but now from source. I also noticed that the INCLUDE_DIRS in the setup file had '..sources/boost/1_55_0' whereas my boost version is 1_56_0, so I changed the 55 to 56. In any case, it seems to be working well now. Thank's a lot for your help.

from pyql.

dpinte avatar dpinte commented on May 14, 2024

Great! Closing now.

from pyql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.