<!--- Remove sections that do not apply -->
Describe the issue
zmq is not default build in v0.13.0 installed by sudo apt-get install in Ubutun 16.04.
Is the issue reproducible?
yes
List steps to reproduce below:
- install bitcoind by sudo apt install bitcoind in Ubuntu 16.04 server amd64(https://bitcoin.org/en/full-node#ubuntu-1410)
- bitcoind --version show v0.13 ga402396
- bitcoind -daemon -debug -zmqpubhashblock=tcp://127.0.0.1:28332 -zmqpubhashtx=tcp://127.0.0.1:28332 after download, blocks file is 89G. and the bitcoin.conf only have rpcuser=xxxyyy and rpcpassword=xxx123 should add server=1 to bitcoin.conf?
- git clone https://github.com/bitcoin/bitcoin
- cd bitcoin/contrib/zmq and pip install zmq, then do python zmq_sub.py and we can't receive anything in long wait. How can we receive hashtx and hashblock from bitcoind? Should i install libzmq3-dev? Is libzmq3-dev only for compile bitcoind and don't need in runtime?
- after sudo apt remove bitciond and git clone https://github.com/bitcoin/bitcoin & make & sudo make install.
- bitcoind -daemon -debug -zmqpubhashblock=tcp://127.0.0.1:28332 -zmqpubhashtx=tcp://127.0.0.1:28332 then we see zmq: Initialize notification interface in debug.log
Expected behavior
Tell us what should happen we should see "zmq: Initialize notification interface" in debug.log. and we should receive hashtx or hashblock.
~/bitcoin/contrib/zmq$ python zmq_sub.py
- HASH TX (5401) - 0ff9c69f43b41456e57120507683a45d69b04f7be7fc3d70e48d5ae21bf665a2
- HASH TX (5402) - 5fe5fa7324a05471b65360c4ae40d9494159d96c4a3375ceef8b8f3ca367abcd
Actual behavior
Tell us what happens instead we haven't see "zmq: Initialize notification interface" in debug.log. and we have't receive anything.
Any information in the debug.log file related to this issue?
no
Screenshots (if available)
What binary version was used (official or self compiled)
v0.13 ga402396
Machine specs: CPU, RAM, Disk space & OS (Windows, OS X, Linux)
Intel 1000G Linux(Ubuntu 16.04 server amd64)