Unable to compile: undefined reference to `zmq_msg_send' #10960

issue Rav3nPL opened this issue on July 31, 2017
  1. Rav3nPL commented at 9:08 AM on July 31, 2017: contributor

    Fresh git clone on machine that was used to compile like month ago

      CXXLD    bitcoind
    libbitcoin_zmq.a(libbitcoin_zmq_a-zmqnotificationinterface.o): In function `CZMQNotificationInterface::Shutdown()':
    /home/rav3n/bitcoin/src/zmq/zmqnotificationinterface.cpp:121: undefined reference to `zmq_ctx_destroy'
    libbitcoin_zmq.a(libbitcoin_zmq_a-zmqpublishnotifier.o): In function `zmq_send_multipart(void*, void const*, unsigned long, ...)':
    /home/rav3n/bitcoin/src/zmq/zmqpublishnotifier.cpp:43: undefined reference to `zmq_msg_send'
    collect2: error: ld returned 1 exit status
    Makefile:3615: recipe for target 'bitcoind' failed
    make[1]: *** [bitcoind] Error 1
    make[1]: Leaving directory '/home/rav3n/bitcoin/src'
    Makefile:9256: recipe for target 'all-recursive' failed
    make: *** [all-recursive] Error 1
    
  2. jonasschnelli commented at 9:19 AM on July 31, 2017: contributor

    Maybe you have deleted libzmq in the meantime? Try a fresh make clean followed by a ./autogen.sh, ./configure <your params> and a make.

    If it won't work, post your config.log somewhere and eventually call make V=1 and post its output.

  3. jonasschnelli added the label Build system on Jul 31, 2017
  4. Rav3nPL commented at 9:23 AM on July 31, 2017: contributor

    No, it was a clean pull, autogen, configure, make. But ill try make clean and do over.

  5. Rav3nPL commented at 9:37 AM on July 31, 2017: contributor

    Nope, no workie.

  6. Rav3nPL commented at 10:15 AM on July 31, 2017: contributor

    Disabled ZMQ (I`m not using it anyway) and it compile.

  7. fanquake closed this on Aug 9, 2017

  8. wenweih commented at 10:54 AM on January 3, 2018: none

    thx @jonasschnelli , make clean work

  9. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me