[zeromq-dev] zeromq-dev Digest, Vol 55, Issue 23

Sharon Ben-Asher Sharon.Ben-Asher at avg.com
Wed Jul 25 12:14:03 CEST 2012


Jonas,

I have another idea (in case you did make zmq before jzmq)
Notice that the configure of both zmq and jzmq rely on correct setting of $OUTPUT_DIR env variable. 
Specifically, you can see this in the configure of jzmq 
LDFLAGS="-L$OUTPUT_DIR/lib"
This tells the linker of jzmq where to find libzmq.so
So make sure the env variable is set correctly.

Good luck,

Sharon.


-----Original Message-----
From: jonas.adler at epiq.se
Subject: [zeromq-dev] Massive problems running ZMQ on android
To: zeromq-dev at lists.zeromq.org
Message-ID: <a469afc041f1b0e985d760584d6d0866.squirrel at mail.glesys.se>
Content-Type: text/plain;charset=iso-8859-1

Hello,

I'm new to ZMQ, and trying to get it to run on android. I am however, facing issue, after issue, after issue.

I try to follow the official guide, (http://www.zeromq.org/build:android),
and have gotten to the following call on my ubuntu machine:

./configure --host=arm-linux-androideabi --prefix=$OUTPUT_DIR --with-zeromq=$OUTPUT_DIR CPPFLAGS="-fPIC -I$OUTPUT_DIR/include"
LDFLAGS="-L$OUTPUT_DIR/lib" --disable-version

I get this error:

"configure: error: cannot link with -lzmq"

I have tried google for a few days now, but i cannot find any solution to this that works for me.

Some comments on other solutions i have found, that did not work for me:

I have installed pretty much every compiler known to man, but if you have any specific suggestions, please tell me.
I have made no alterations to the source at all, simply following the instructions to the letter.

Has someone else had this error? Is there something that is "understood"
in the guide, that i could be missing?

Any help would be greatly appreciated!

//Jonas Adler




More information about the zeromq-dev mailing list