Login  Register

Re: QuantLib + boost 1.55

Posted by tulassay on May 17, 2014; 8:08am
URL: http://quantlib.414.s1.nabble.com/QuantLib-boost-1-55-tp14715p15286.html

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
>
>
>