guides for openssl issue in macOS 37/29237/1
authorJulien <zhang.jun3g@zte.com.cn>
Wed, 22 Feb 2017 15:36:40 +0000 (23:36 +0800)
committerJulien <zhang.jun3g@zte.com.cn>
Wed, 22 Feb 2017 15:36:40 +0000 (23:36 +0800)
Change-Id: I61454e35db30050a4473ab9058ddcd9c7b44fcbe
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
DEVELOP.md

index 9ec3a93..893efca 100644 (file)
@@ -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