[Git][NTPsec/ntpsec][master] More info for installing libsodium
Hal Murray
gitlab at mg.gitlab.com
Mon Jan 23 11:48:42 UTC 2017
Hal Murray pushed to branch master at NTPsec / ntpsec
Commits:
709d50e9 by Hal Murray at 2017-01-23T03:47:42-08:00
More info for installing libsodium
- - - - -
1 changed file:
- INSTALL
Changes:
=====================================
INSTALL
=====================================
--- a/INSTALL
+++ b/INSTALL
@@ -46,12 +46,21 @@ Python 2.x, x >= 6, or Python 3.x, x >= 3::
installation and Python dev tools, if your OS makes such a
distinction.
+ Some/many OS distros won't find our iinstalled python libraries.
+ Your shell will need something like this:
+ export PYTHONPATH=/usr/local/lib/python2.7/site-packages
+ CentOS 6 is using python 2.6
+ export PYTHONPATH=/usr/local/lib/python2.6/site-packages
+ (I put it in my .bashrc)
+
+
bison::
Required to build.
Gentoo package: sys-devel/bison
libsodium::
- Required to build. Used for cryptographic-quality random-number generation.
+ Required to run and build.
+ Used for cryptographic-quality random-number generation.
This is a relatively recent library and is a bit tricky to install on
older distributions. We used to carry it in-tree to avoid this problem,
but we judge this creates an unacceptable risk should a CVE be issued
@@ -59,22 +68,39 @@ libsodium::
Tarballs: https://download.libsodium.org/libsodium/releases/
- CentOS: libsodium in epel ("Extra Packages for Enterprise Linux").
- Debian Wheezy and older: libdevel/libsodium-dev
- i386 deb available from:
- https://sourceforge.net/projects/debiannoofficial/files/wheezy/
- amd64: use a tarball
+ NetBSD:
+ pkgin install libsodium
+ The runtime loader/linker doesn't look in /usr/pkg/lib/
+ The following link makes things work. (adjust both 18s as needed)
+ # ls -s /usr/pkg/lib/libsodium.so.18 /usr/lib/libsodium.so.18
+ FreeBSD:
+ # pkg install libsodium
+ CentOS:
+ libsodium comes from epel ("Extra Packages for Enterprise Linux").
+ https://fedoraproject.org/wiki/EPEL
+ # yum install epel-release
+ now use buildprep
+ Debian
+ Jessie: use buildprep
+ Wheezy:
+ i386 deb available from:
+ https://sourceforge.net/projects/debiannoofficial/files/wheezy/
+ amd64: use a tarball (URL above)
+ $ ./configure; make; make check; sudo make install
+ # ln -s /usr/local/lib/libsodium.so.18 /lib/x86_64-linux-gnu/libsodium.so.18
+
MacOS/OS X, macports: libsodium
- Ubuntu 14.04 LTS: and older: https://gist.github.com/jonathanpmartins/2510f38abee1e65c6d92
+ Ubuntu 14.04 LTS: and older:
+ https://gist.github.com/jonathanpmartins/2510f38abee1e65c6d92
libcap::
- Required on Linux, to support dropping root.
+ Required on Linux to support dropping root.
Gentoo package: sys-libs/libcap
gnuplot::
Required for ntpviz.
-argarse::
+argparse::
Required for ntpviz when using Python version 2.6
Install with pip: pip install argparse
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/709d50e9af91b225686fed50846d80e43f4d445f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170123/a0f5dc54/attachment.html>
More information about the vc
mailing list