Skip to content

Instantly share code, notes, and snippets.

@shrinath-shenoy
Forked from sunliwen/mac_openssl_include.sh
Created August 24, 2016 07:25
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shrinath-shenoy/797443bd1ebc07240ac11cbb77a6e8c1 to your computer and use it in GitHub Desktop.
Save shrinath-shenoy/797443bd1ebc07240ac11cbb77a6e8c1 to your computer and use it in GitHub Desktop.
On Mac - fatal error: 'openssl/aes.h' file not found #include <openssl/aes.h>
# Install pip install cryptography, path issue with openssl/aes.h will occur. The reason is Apple deprecated openssl and the compiler can't find the one installed by homebrew.
# So the following line will help.
env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" pip install cryptography
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment