Error: libzmq.so.3: cannot open shared object file: No such file or directory
解决办法:
安装libsodium(zeromq的依赖) 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
解压libsodium-1.0.3.tar.gz并控制台进入目录 执行
./configure
make
sudo make install
输入 whereis libsodium 查看是否安装成功
安装zeromq 最新版本包地址:http://download.zeromq.org/
wget https://archive.org/download/zeromq_3.2.3/zeromq-3.2.3.tar.gz
解压zeromq-3.2.3.tar.gz并控制台进入目录,执行
./configure --without-libsodium
make
sudo make install
sudo ldconfig