On 10 January 2017 at 21: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
That output is correct, as the library and headers are in the default path so there is no need to override. I use the packages on Debian and compile all the time, never seen that. Can you share the source of discovery.ccp in a gitst/pastebin, or another minimal example that reproduces the problem? _______________________________________________ zeromq-dev mailing list [email protected] https://lists.zeromq.org/mailman/listinfo/zeromq-dev
