[zeromq-dev] How to build with draft features?
Luca Boccassi
luca.boccassi at gmail.com
Thu Mar 30 12:00:46 CEST 2017
That sounds like a problem when linking your application to the
library. rpath is ugly and fragile.
If you follow *nix best practices and use pkg-config in your
application build, and you are not installing libzmq in a directory
that is in the default LD_LIBRARY_PATH, you can make sure pkg-config
can discover it by setting the env var:
PKG_CONFIG_PATH=/path/to/custom/pkgconfig/dir and then if you ldd your
binary you should see that it points to the right location.
There is nothing particular about using the draft features, it's just
the build flag that you are already using.
On 30 March 2017 at 04:51, Heungsub Lee <sub at subl.ee> wrote:
> My friend helped me. I had to use the -Wl,-rpath linker flag.
>
> Anyway, if there's some official manual for testing draft features, it would
> be awesome!
>
> 2017년 3월 30일 (목) 오전 3:01, Heungsub Lee <sub at subl.ee>님이 작성:
>>
>> Hi,
>>
>> I want to test draft features of zmq-4.2. So I tried to configure with
>> "--enable-drafts=yes" then build and install libzmq-4.2.2. But
>> zmq_has("draft") still returns false. Was I wrong to build with the draft
>> features?
>>
>> Regards,
>> Heungsub
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list