From: Julien Date: Wed, 22 Feb 2017 15:36:40 +0000 (+0800) Subject: guides for openssl issue in macOS X-Git-Tag: danube.1.0~78^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F37%2F29237%2F1;p=qtip.git guides for openssl issue in macOS Change-Id: I61454e35db30050a4473ab9058ddcd9c7b44fcbe Signed-off-by: Julien --- 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