pkg-config may not be necessary to install on all systems
January 21, 2019 ยท View on GitHub
#!/bin/bash
pkg-config may not be necessary to install on all systems
sudo apt-get install -y wget libtool autoconf automake pkg-config
wget https://github.com/zeromq/libzmq/releases/download/v4.2.5/zeromq-4.2.5.tar.gz &&
tar -xvf zeromq-4.2.5.tar.gz &&
cd zeromq-4.2.5/ &&
./autogen.sh &&
./configure CPPFLAGS=-DPIC CFLAGS=-fPIC CXXFLAGS=-fPIC LDFLAGS=-fPIC --prefix=/usr &&
make &&
make install