Last active
August 29, 2015 14:09
-
-
Save haarts/760a0afb65c80d8e9f86 to your computer and use it in GitHub Desktop.
Setup CurveZMQ and Go
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
This is a brief description on getting CurveZMQ going on Ubuntu 14.04. This assumes a working Go installation. | |
Order is important since ZeroMQ will check during compilation if libsodium is installed. | |
1. $ sudo apt-get install pkg-config | |
1. $ curl -O https://download.libsodium.org/libsodium/releases/libsodium-1.0.0.tar.gz | |
1. $ tar xzf libsodium-1.0.0.tar.gz | |
1. $ cd libsodium-1.0.0 | |
1. $ ./configure && make && make check && sudo make install && sudo ldconfig | |
1. $ cd | |
1. $ curl -O http://download.zeromq.org/zeromq-4.0.5.tar.gz | |
1. $ tar xzf zeromq-4.0.5.tar.gz | |
1. $ cd zeromq-4.0.5 | |
1. $ ./configure && make && make check && sudo make install && sudo ldconfig | |
1. $ cd | |
1. $ go get github.com/pebbe/zmq4 | |
1. $ curl -O https://raw.githubusercontent.com/pebbe/zmq4/master/examples_security/ironhouse.go | |
1. $ go run ironhouse.go | |
1. Daisies and dolphins. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment