Comments (6)
@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.
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.
@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.
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.
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.
Great! Closing now.
from pyql.
Related Issues (20)
- test a examples file failed HOT 3
- Calls to CreditDefaultSwap.fair_upfront crash Python HOT 7
- def file generation HOT 2
- Test results with QuantLib 1.10
- compilation error HOT 3
- Problem with Python examples - american_option HOT 3
- testing pyql - errors HOT 2
- Odd issue with Period HOT 4
- Cython error + compilation error HOT 1
- Compilation Error on MacOS High Sierra HOT 15
- Cython version issue
- commit 27e9d9bf2 breaks compatibility with Quantlib < 1.13
- Adding OISRateHelpers HOT 13
- Building issue Win10x64 Python3.7.1 / x64 / VS2017 / QL1.15 / Boost 1.69 HOT 18
- Building on x64
- Build error error: ‘Microsecond’ is not a member of ‘QuantLib’ HOT 2
- install pyql in mac HOT 1
- error: ‘RelativePriceError’ is not a member of ‘QuantLib::CalibrationHelper’ HOT 4
- pyql/examples/data/df_libor.pkl cannot be loaded
- Pain point: Not enough documentation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyql.