From 2f6983ae7d1e0df6f590c730d9f636b0fbde10cc Mon Sep 17 00:00:00 2001 From: Julien Date: Wed, 22 Feb 2017 23:36:40 +0800 Subject: guides for openssl issue in macOS Change-Id: I61454e35db30050a4473ab9058ddcd9c7b44fcbe Signed-off-by: Julien --- DEVELOP.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'DEVELOP.md') diff --git a/DEVELOP.md b/DEVELOP.md index 9ec3a93d..893efca4 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -28,6 +28,24 @@ $ pip install tox $ tox ``` +Undering macOS system, it will happen to a **fatal error** when installing package `cryptograph`: + +``` +'openssl/opensslv.h' file not found +#incude + ^ +1 error generated. +``` + +It is for macOS uses TLS instead of OpenSSL and no header files supported. The solutions is: +``` code=bash +# brew install openssl + +# #add these lines in to your shell profiles, such as .bash_profile, .zshrc +# export CPPFLAGS='-I $openssl_install_path/include' +# export LDFLAGS='-L $openssl_install_path/lib' +``` + ## Architecture **TODO**: move to design spec -- cgit 1.2.3-korg