[zeromq-dev] Linking of libzmq (git HEAD) fails under Mac OS X 10.9 Mavericks, ld: unknown option: --version-script=libzmq.vers

Bruno D. Rodrigues bruno.rodrigues at litux.org
Mon Jan 13 18:33:31 CET 2014


https://github.com/zeromq/libzmq/pull/821


On Jan 13, 2014, at 16:53, Mathias Hablützel <habl at zhaw.ch> wrote:

> Hi everyone,
> 
> Hit this little problem:
> 
>> $ make all
>> Making all in src
>> /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
>>  CXX      libzmq_la-address.lo
>>  CXX      libzmq_la-clock.lo
>> 
>> [snip]
>> 
>>  CXX      libzmq_la-tipc_listener.lo
>>  CXX      libzmq_la-tipc_connecter.lo
>>  CXXLD    libzmq.la
>> ld: unknown option: --version-script=libzmq.vers
>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>> make[2]: *** [libzmq.la] Error 1
>> make[1]: *** [all] Error 2
>> make: *** [all-recursive] Error 1
> 
> Then I added in the Makefile manually the -v switch for LDFLAGS and ran
> it again:
> 
>> $ make all
>> Making all in src
>> /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
>>  CXXLD    libzmq.la
>> ld: unknown option: --version-script=libzmq.vers
>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>> make[2]: *** [libzmq.la] Error 1
>> make[1]: *** [all] Error 2
>> make: *** [all-recursive] Error 1
> 
> So I double checked if my linker is kind of outdated:
> 
>> $ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -v
>> @(#)PROGRAM:ld  PROJECT:ld64-224.1
>> configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 armv6m armv7m armv7em
>> LTO support using: LLVM version 3.3svn, from Apple Clang 5.0 (build 500.2.79)
>> $ ld -v
>> @(#)PROGRAM:ld  PROJECT:ld64-136
>> configured to support archs: i386 x86_64 armv7 armv7s
>> LTO support using: LLVM version 3.3
> 
> Since I doubt that between a less new and a newer patch-release a
> option is lost I can only assume that I overlooked something else. And
> yes, I was able to build libzmq beforehand (IIRC it was the 4.0.1
> version).
> 
> Any pointer where to search further?
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140113/604fa813/attachment.sig>


More information about the zeromq-dev mailing list