Error: libzmq.so.3: cannot open shared object file: No such file or directory
解决办法:
Install libsodium (dependency of zeromq) and download the latest package from github: https://github.com/jedisct1/libsodium/releases
wget https://github.com/jedisct1/libsodium/releases/download/1.0.3/libsodium-1.0.3.tar.gz
tar -zxvf libsodium-1.0.3.tar.gz
Unzip libsodium-1.0.3.tar.gz and enter the directory in the console to execute
./configure
make
sudo make install
Enter whereis libsodium to see if the installation is successful
Install the latest version of zeromq package address: http://download.zeromq.org/
wget https://archive.org/download/zeromq_3.2.3/zeromq-3.2.3.tar.gz
Unzip zeromq-3.2.3.tar.gz and enter the directory in the console, execute
./configure --without-libsodium
make
sudo make install
sudo ldconfig