[zeromq-dev] linking zeromq 3.2 on os x 10.9 against libstdc++

Ovanes Markaryan om_zeromq at keywallet.com
Thu Oct 31 08:20:46 CET 2013


Hello *,

I am trying to build zeromq on OS X so that it is linked with libstdc++,
since we have module/lib which can't be rebuild against libc++ (at least we
don't have source code for it). No matter what I do libzmq is always linked
with libc++:

otool -L src/.libs/libzmq.3.dylib
src/.libs/libzmq.3.dylib:
    /usr/local/lib/libzmq.3.dylib (compatibility version 4.0.0, current
version 4.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1197.1.1)
    /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version
120.0.0)

I currently tried:

../configure --srcdir=.. CC=gcc CXX=g++ CXXFLAGS="-stdlib=libstdc++"
LDFLAGS="-v -L/usr/local/lib/ -stdlib=libstdc++" LIBS="-stdlib=libstdc++"

I would be very thankful for any suggestions.

Many thanks,
Ovanes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131031/97d18aa8/attachment.htm>


More information about the zeromq-dev mailing list