#!/usr/bin/bash | |
# Download zeromq | |
# Ref http://zeromq.org/intro:get-the-software | |
wget https://github.com/zeromq/libzmq/releases/download/v4.2.2/zeromq-4.2.2.tar.gz | |
# Unpack tarball package | |
tar xvzf zeromq-4.2.2.tar.gz | |
# Install dependency | |
sudo apt-get update && \ | |
sudo apt-get install -y libtool pkg-config build-essential autoconf automake uuid-dev | |
# Create make file | |
cd zeromq-4.2.2 | |
./configure | |
# Build and install(root permission only) | |
sudo make install | |
# Install zeromq driver on linux | |
sudo ldconfig | |
# Check installed | |
ldconfig -p | grep zmq | |
# Expected | |
############################################################ | |
# libzmq.so.5 (libc6,x86-64) => /usr/local/lib/libzmq.so.5 | |
# libzmq.so (libc6,x86-64) => /usr/local/lib/libzmq.so | |
############################################################ |
This comment has been minimized.
This comment has been minimized.
Should add the stepts to install libsodium, which is a dependency. Installed it following this gist |
This comment has been minimized.
This comment has been minimized.
Ref : https://gist.github.com/cdjhlee/b8e3c927a01b0948b42d#gistcomment-2560156 |
This comment has been minimized.
This comment has been minimized.
If you are into binaries only then you can try as follows
If you get a permission error then you can try as follows (you need to have superuser access)
ref: http://wiki.zeromq.org/intro:get-the-softwarehttp://wiki.zeromq.org/intro:get-the-software |
This comment has been minimized.
This comment has been minimized.
Suggest to update the zeromq version to 4.2.5 to prevent the compile error as follows: |
This comment has been minimized.
Small note, bash is in /bin/bash not /usr/bin/bash with Ubuntu Xenial.