[zeromq-dev] *almost* working on Android
swilly
swilly at fsckd.com
Wed Mar 14 01:38:23 CET 2012
I'm terribly sorry if this double posts, but I think it was caught by
the spam filter, and I'm now subscribed :) :
I got the libraries to the point where I could load them both with a
System.loadLibrary() call:
03-13 23:23:20.181: DEBUG/dalvikvm(1716): Trying to load lib
/data/data/com.example/lib/libzmq.so 0x40514a08
03-13 23:23:20.241: DEBUG/dalvikvm(1716): Added shared lib
/data/data/com.example/lib/libzmq.so 0x40514a08
03-13 23:23:20.241: DEBUG/dalvikvm(1716): No JNI_OnLoad found in
/data/data/com.example/lib/libzmq.so 0x40514a08, skipping init
03-13 23:23:20.251: DEBUG/dalvikvm(1716): Trying to load lib
/data/data/com.example/lib/libjzmq.so 0x40514a08
However, I still seem to be encountering this error whenever I
initialize a ZMQ Context:
Caused by: java.lang.UnsatisfiedLinkError: Cannot load library:
link_image[1962]: 33 could not load needed library 'libzmq.so.1'
for 'libjzmq.so' (load_library[1104]: Library 'libzmq.so.1' not found)
I have tried renaming libzmq.so to libzmq.so.1 to no avail :(
Does anyone know of a fix/workaround for this issue?
Thanks!
-William
More information about the zeromq-dev
mailing list