In order to create a static ZeroMQ library, follow these steps.
To do so, under ubuntu :
- sudo apt-get install build-essential
- sudo apt-get install libtool
- sudo apt-get install automake
- sudo apt-get install autoconf
- sudo apt-get install uuid-dev
- Download the tarball for the libsodium from the Libsodium website
- Extract the tarball in a directory
- go in the directory
- ./configure --enable-static --disable-shared
- make
- sudo make install
- Download the tarball from the ZeroMQ website
- extract the tarball in a directory
- go in the directory
- ./configure --enable-static --disable-shared
- make
- sudo make install
On some systems is better to run :
sudo ldconfig to update the system library cache, otherwise it is requested a reboot of the machine.
Install Czmq
In order to bind the library with the C language is necessary to compile the library Czmq- git clone https://github.com/zeromq/czmq
- cd czmq
- ./autogen.sh
- ./configure --enable-static --disable-shared
- make
- sudo make install
- sudo ldconfig
No comments:
Post a Comment