From 958c04e79ae1dd681e33fe325bf02f9bcc45245a Mon Sep 17 00:00:00 2001 From: Noel Maersk Date: Thu, 23 Apr 2015 17:33:48 +0300 Subject: [PATCH] doc: crypto/secp256k1 GMP dependency package name. Linux build documentation is mostly geared towards Ubuntu 14.04 (LTS). Appropriate package is called `libgmp-dev` there. Note that on pristine installations building `geth` with godep will fail because this header is missing. This is not documented in the top-level README, but is on the wiki: https://github.com/ethereum/go-ethereum/wiki/Installation-Instructions-for-Ubuntu#building-geth-command-line-client That page recommends `libgmp3-dev`, which ATM provides same version as `libgmp-dev`. --- crypto/secp256k1/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crypto/secp256k1/README.md b/crypto/secp256k1/README.md index 79cdccb38..5a86147d4 100644 --- a/crypto/secp256k1/README.md +++ b/crypto/secp256k1/README.md @@ -7,8 +7,11 @@ Implements cryptographic operations for the secp256k1 ECDSA curve used by Bitcoi Installing === + +GMP library headers are required to build. On Debian-based systems, the package is called `libgmp-dev`. + ``` -sudo apt-get install gmp-dev +sudo apt-get install libgmp-dev ``` Now compiles with cgo!