> On 10 Jan 2017, at 22:06, Stephan Opfer <[email protected]> wrote:
> 
> 
> On 10.01.2017 21:59, Luca Boccassi wrote:
>> Did you install the packages? Because then /usr/local is wrong, if you
>> did a make install before you should do a make uninstall to remove the
>> manually installed files
> I tried both ways. Currently I have the library manually compiled and did 
> make install.
> 
> When I install the packages and do make uninstall before, "pkg-config 
> --cflags --libs libzmq" only creates "-DZMQ_BUILD_DRAFT_API=1 -lzmq" and I 
> get the same linker errors doing this: g++ -DZMQ_BUILD_DRAFT_API=1 -lzmq 
> src/Discovery.cpp -o foo

put the library (-lzmq) after the source files on the compile/link line?



_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to