[zeromq-dev] Has anyone successfully built and used ZeroMQ on Android?

Nick Talbot solutions at magichat.biz
Fri Jan 13 00:24:07 CET 2012

Hi all,

I'm attempting to build and use ZeroMQ in a Mono for Android project. I've followed the instructions at http://www.zeromq.org/build:android using the latest NDK tools in a VirtualBox instance of Unbuntu 11.10 to produce an ARM-capable libzmq.so

The .so I've produced however doesn't work at all in the Android emulator, as it fails to load. With some help from Xamarin suppport (private emails, some of it reproduced at http://stackoverflow.com/questions/8812145/mono-android-monodroid-native-library-dllnotfoundexception ).

The long and short seems to be, that using nm and other tools to look at the produced library, it has many unresolved linker symbols, and requires about 5 other .so libs, incling some gcc ones!

Has anyone had any luck or pointers? I already had to change one line in the UUID source code when building it because an obsolete constant was used (IWRITE I think or similar), but maybe I'm missing some other tricks?

Any help greatly appreciated!

Nick Talbot

P.S. I am happy to create a ZeroMQ information page about building for the iPhone with my recent experience, including some extra tips I recently discovered to get ZeroMQ to work on iOS3 as well as 4 and 5. Do I just create it myself or send it to someone?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120112/9c9c14f6/attachment.htm>

More information about the zeromq-dev mailing list