diff options
author | Julien <zhang.jun3g@zte.com.cn> | 2017-02-22 23:36:40 +0800 |
---|---|---|
committer | Julien <zhang.jun3g@zte.com.cn> | 2017-02-22 23:36:40 +0800 |
commit | 2f6983ae7d1e0df6f590c730d9f636b0fbde10cc (patch) | |
tree | 2064854aee1c74c6497ed3a3ed62e7f6f0fb9786 | |
parent | a72b8daa8aa00be9632d56ac0770002b0caad360 (diff) |
guides for openssl issue in macOS
Change-Id: I61454e35db30050a4473ab9058ddcd9c7b44fcbe
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
-rw-r--r-- | DEVELOP.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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 <openssl/opensslv.h> + ^ +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 |