[zeromq-dev] Using Strawhouse security pattern with ZeroMQ

Pieter Hintjens ph at imatix.com
Sat Dec 13 10:04:21 CET 2014


You presumably have two versions of libzmq installed on your system,
and gcc is complaining they both have the same symbols. I'd recommend
removing the older version.

On Sat, Dec 13, 2014 at 1:29 AM, Check Peck <comptechgeeky at gmail.com> wrote:
> I am trying to use Strawhouse security pattern in my zero-mq development. I
> was following this wiki http://hintjens.com/blog:49 and when I try to run
> below simple program to make sure I have everything installed, I got an
> error -
>
> #include <czmq.h>
>
> int main (void) {
> zctx_t *ctx = zctx_new ();
> void *publisher = zsocket_new (ctx, ZMQ_PUB);
> zsocket_set_curve_server (publisher, true);
> puts ("Hello, Curve!");
> zctx_destroy (&ctx);
> return 0;
> }
>
> I tried to compile it like this -
>
> gcc -o hello hello.c -lczmq -lzmq -lsodium
>
> And the error I got -
>
> /usr/bin/ld: warning: libzmq.so.4, needed by /usr/local/lib/libczmq.so, may
> conflict with libzmq.so.3
>
> Does anyone know what does this mean and what wrong I am doing?
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list