Linking issues on OSX Mavericks

Jeremy Whiting jpwhiting at kde.org
Wed Dec 3 19:35:39 PST 2014


Perfect that solved the linking issue.

Thanks
On Dec 3, 2014 5:42 PM, "Clemens Lang" <cal at macports.org> wrote:

> Hi,
>
> ----- On 4 Dec, 2014, at 00:20, Jeremy Whiting jpwhiting at kde.org wrote:
>
> > nm on the .dylib shows the symbols that the linker says are missing.
> file on the
> > dylib says it's x86_64 format. otool -L shows it is linking against
> libc++ so
> > I'm not sure what else would cause this.
>
> I'll bet the problem is different symbol mangling for libc++ and
> libstdc++. Ensure
> you don't have MACOSX_DEPLOYMENT_TARGET set or that it's greater or equal
> 10.9 and
> that you link with -std=c++11 -stdlib=libc++.
>
> --
> Clemens Lang
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20141203/6c0ce21d/attachment.html>


More information about the macports-dev mailing list