From bbaec65b73e1e72ca648b51c8f0a1be8de6f5c2e Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Thu, 12 Apr 2018 08:42:29 +1000 Subject: [PATCH] Include information about development packages Building the crate on a system without the development packages of openssl installed fails. Issue #649 suggests to install those packages, which resolves the problem. --- openssl-sys/build.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openssl-sys/build.rs b/openssl-sys/build.rs index b139811ef..0af3f8ed7 100644 --- a/openssl-sys/build.rs +++ b/openssl-sys/build.rs @@ -133,6 +133,9 @@ Could not find directory of OpenSSL installation, and this `-sys` crate cannot proceed without this knowledge. If OpenSSL is installed and this crate had trouble finding it, you can set the `OPENSSL_DIR` environment variable for the compilation process. + +Make sure you also have the development packages of openssl installed. +For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora. If you're in a situation where you think the directory *should* be found automatically, please open a bug at https://github.com/sfackler/rust-openssl -- GitLab