[zeromq-dev] Trouble building CZMQ master with libzmq installed to ${prefix}/lib64

KIU Shueng Chuan nixchuan at gmail.com
Sun Sep 22 05:28:28 CEST 2013


Correction:
./configure --with-libzmq=/home/user/local
does work, but I needed to link lib64 to lib
ln -s /home/user/local/lib64 /home/user/local/lib



On Sun, Sep 22, 2013 at 11:20 AM, KIU Shueng Chuan <nixchuan at gmail.com>wrote:

> According to
> http://stackoverflow.com/questions/4791699/gcc-looks-for-headers-in-usr-local-include-when-compiling-but-not-for-librarie,
> it seems it's going to be a problem to have distro packaged zmq development
> headers in /usr and libzmq master in /usr/local
>
> Current workaround, install libzmq master to home user directory:
> ./configure --prefix=/home/user/local
>
> To compile CZMQ against system installed ZeroMQ 3.2.2:
> ./configure
>
> To compile CZMQ against user's own libzmq
> CFLAGS=-I/home/user/local/include LDFLAGS=-L/home/user/local/lib64
> ./configure
>
> I couldn't get the following options to do what I wanted:
> --with-libzmq, --with-libzmq-include-dir, --with-libzmq-lib-dir
>
>
>
> On another note, shouldn't the libzmq installed libraries get their
> version bumped to libzmq.so.4?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130922/8ae74102/attachment.htm>


More information about the zeromq-dev mailing list