Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
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 and I have the following warning during ./configure of QuantLib: checking for Boost unit-test framework... no
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 I also tried to use pyql and got a similar error while testing:
quantlib.test.test_bonds (unittest.loader.ModuleImportFailure) ... ERROR 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 ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hi Vasiliy,
I have encountered the very same issue. It seems to be down to the linking process on MacOSX 10.9. Using nm on the dylib shows clearly that the mangled names are not available in the shared library. Haven't found the solution yet.
-- Didrik On 10 December 2013 15:43, Vasiliy Afonin <[hidden email]> wrote:
... [show rest of quote] ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Was this issue fixed? I am struggling with the same problem on Mavericks.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Looks like this fixes this issue:
To build the library on Mac OS X 10.9, the QuantLib library must be linked against libstdc++. To do so, set the environment flags `CXXFLAGS` and `LDFLAGS` to `-stlib=libstdc++ -mmacosx-version-min=10.6` before compiling from source. Thanks, Albert |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Thanks, I've added the fix to the installation instructions on the site.
Luigi On Thu, Feb 27, 2014 at 11:30 PM, aazout <[hidden email]> wrote: > Looks like this fixes this issue: > > To build the library on Mac OS X 10.9, the QuantLib library must be linked > against libstdc++. To do so, set the environment flags `CXXFLAGS` and > `LDFLAGS` > to `-stlib=libstdc++ -mmacosx-version-min=10.6` before compiling from > source. > > Thanks, > Albert > > > > -- > View this message in context: http://quantlib.10058.n7.nabble.com/QuantLib-boost-1-55-tp14715p15042.html > Sent from the quantlib-dev mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > _______________________________________________ > QuantLib-dev mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/quantlib-dev ... [show rest of quote] -- <https://implementingquantlib.blogspot.com> <https://twitter.com/lballabio> ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hello,
I am also having a linking issue that might be related, with ld complaining about > ld: symbol(s) not found for architecture x86_64 This is on Mac OS X 10.9.2, with QuantLib 1.4 & Boost 1.55, binaries installed via Homebrew. I tried to rebuild QuantLib with the below flags set, but it didn't help. Any suggestions? thanks Zsolt <quote author="Luigi Ballabio"> Thanks, I've added the fix to the installation instructions on the site. Luigi On Thu, Feb 27, 2014 at 11:30 PM, aazout <[hidden email]> wrote: > Looks like this fixes this issue: > > To build the library on Mac OS X 10.9, the QuantLib library must be linked > against libstdc++. To do so, set the environment flags `CXXFLAGS` and > `LDFLAGS` > to `-stlib=libstdc++ -mmacosx-version-min=10.6` before compiling from > source. > > Thanks, > Albert > > > |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Never mind, I figured it out
thanks Zsolt |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hi,
Could you tell me how you fixed this issue? I followed the recommandations of Luigi and it does not work. Thank's in advance |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
In reply to this post by tulassay
Can you please help us with how to solve the issue?
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
This was suggested earlier in the thread. Does it fix the issue? -------------------- To build the library on Mac OS X 10.9, the QuantLib library must be linked against libstdc++. To do so, set the environment flags `CXXFLAGS` and `LDFLAGS` to `-stlib=libstdc++ -mmacosx-version-min=10.6` before compiling from source. On Mon, Nov 17, 2014 at 2:51 AM, auser <[hidden email]> wrote: Can you please help us with how to solve the issue? ... [show rest of quote] ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hey Luigi,
Thanks for your message this indeed solves the issue. One small correction: stdlib instead of stlib. It is also in one of your SO posts. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Thanks, it's fixed now. Luigi On Mon, Nov 17, 2014 at 7:50 PM, auser <[hidden email]> wrote: Hey Luigi, ... [show rest of quote] ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hi Luigi,
I have set CXXFLAGS and LDFLAGS to -stdlib=libstdc++ -mmacosx-version-min=10.6. But the Quantlib still cannot work, because of a clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later). Any suggestions? Thank you so much. ![]() Jason |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Google suggests to try -mmacosx-version-min=10.7 instead. Luigi On Wed, Dec 3, 2014 at 2:50 AM, jasonhsing <[hidden email]> wrote: Hi Luigi, ... [show rest of quote] ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Disable Popup Ads | Edit this page |