Last active
August 24, 2021 19:37
-
-
Save cdjhlee/b8e3c927a01b0948b42d to your computer and use it in GitHub Desktop.
install zeromq in ubuntu 14.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
############################################################ |
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)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome, a huge pain in da.. saver ! a BIG thank you!