I didn't use the --with-libzmq flag when I built czmq. Instead I did the following. Hope it helps.
export CFLAGS=-I/tmp/build export LDFLAGS=-L/tmp/build ./configure --enable-static --disable-shared --prefix=/tmp/build && make && make instal On Tue, Oct 15, 2013 at 4:06 PM, Kerrigan29a <[email protected]>wrote: > I'm trying to compile libzmq and czmq statically on a Mac OSX Mountain > Lion. > > To compile libzmq (3.2.4) I've used: > > ./configure --enable-static --disable-shared --prefix=/tmp/build && > make && make install > > and it worked. Then I tried to compile czmq (1.4.1): > > ./configure --enable-static --disable-shared --prefix=/tmp/build > --with-libzmq=/tmp/build && make && make install > > but in the configuration stage I got the following error: > > checking for zmq_init in -lzmq... no > configure: error: cannot link with -lzmq, install libzmq. > > It's not possible to compile both libs statically? or I'm missing > something. > > > Thanks for your time. > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
