Linking issues on OSX Mavericks
Clemens Lang
cal at macports.org
Wed Dec 3 16:41:41 PST 2014
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
More information about the macports-dev
mailing list