-
-
Save cdjhlee/b8e3c927a01b0948b42d to your computer and use it in GitHub Desktop.
#!/usr/bin/bash | |
############################################## | |
#from http://zeromq.org/intro:get-the-software | |
############################################## | |
#get zeromq | |
wget http://download.zeromq.org/zeromq-4.0.5.tar.gz | |
#unpack tarball package | |
tar xvzf zeromq-4.0.5.tar.gz | |
#install dependency | |
sudo apt-get update && \ | |
sudo apt-get install -y libtool pkg-config build-essential autoconf automake uuid-dev | |
#in zeromq dir | |
cd zeromq-4.0.5 | |
#create make file | |
./configure | |
#build and install(root permission only) | |
sudo make install | |
#install zeromq driver on linux | |
sudo ldconfig | |
#check installed | |
ldconfig -p | grep zmq | |
############################################################ | |
#libzmq.so.4 (libc6,x86-64) => /usr/local/lib/libzmq.so.4 | |
#libzmq.so (libc6,x86-64) => /usr/local/lib/libzmq.so | |
############################################################ |
Great! Really helpful!
Awesome, a huge pain in da.. saver ! a BIG thank you!
Thank you!
Thank you very much... How can I install it on Plesk 17?
Great! Thank you man!
Thank you :)
Thanks. This was really helpful
if anyone encountered No package 'libsodium' found after ./configure then simply do ./configure --without-libsodium
OR
Install it from here https://github.com/jedisct1/libsodium and do ./configure --with-libsodium=~path
^ you can simply do sudo apt-get install libsodium-dev
Download location http://download.zeromq.org/zeromq-4.0.5.tar.gz is dead.
Please update download location to https://github.com/zeromq/zeromq4-x/releases/download/v4.0.5/zeromq-4.0.5.tar.gz
Or https://github.com/zeromq/zeromq4-x/releases/download/v4.0.10/zeromq-4.0.10.tar.gz (current latest version to produce libzmq.so.4)
Thank u bro it so awesome!