[zeromq-dev] ZeroMQ 4.1.5 runtime crash on iOS 10 SDK

Laughing hnwyllmm at 126.com
Tue Oct 25 05:26:08 CEST 2016

There is no clock_gettime API in the IOS platform?
Or some library should be linked?

On 10/24/2016 16:34, Ahmad Zawawi<ahmad.zawawi at gmail.com>wrote:


I encountered today a clock_gettime run time crash while testing on iOS 9.0 and earlier using a libzmq.a that is compiled on an iOS 10.0 SDK. The Swift language bindings for iOS (https://github.com/azawawi/SwiftyZeroMQ) is currently using a bundled universal libzmq.a (https://github.com/drewcrawford/libzmq-ios). When I enabled Travis CI tests on iOS 9 and earlier, the tests started to fail with the error "dyld: lazy symbol binding failed: Symbol not found: _clock_gettime" (libSystem.dylib). Tests are working perfectly on iOS 10. The problem seems to be similar to https://curl.haxx.se/mail/lib-2016-09/0043.html.

Is there a way to disable clock_gettime detection via the configure shell script?


Ahmad M. Zawawi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20161025/4b614517/attachment.htm>

More information about the zeromq-dev mailing list