pyzmq copies libzmq.so.3 to it's own zmq/libzmq.so
running python "import zmq" will load that file a first time, but I suspect zmq/libzmq.so will dynamically link against libzmq.so.3 and try to open the non-existing file anyway.
a symlink from libzmq.so.3 to libzmq.so solves that problem but this is not clean IMHO
linking libzmq.so with -avoid-version on Android solves that problem, so I post the following patch
Hi,
I have been working on porting pyzmq to Android (see work progress here: https://github.com/zeromq/pyzmq/issues/227#issuecomment-6713218). The symptoms without the patch are:
Starting from libzmq3.x (https://github.com/zeromq/zeromq3-x), the following patch that will add -avoid-version to LDFLAGS:
Then I also need to make use of that patch not yet released in 3.x: https://github.com/zeromq/libzmq/commit/eb6c668c2ae961a4a53d11d81dd6d2df5bffa666
I have never made git pull request and do not have any folder on git... I will try to keep it that way for now, that's why I post my patch here.
EDITS: