I\'m trying to compile Python 3.6.2 on macOS 10.11 according to the instructions on https://bugs.python.org/issue29095.
I\'ve used homebrew to install openSSL to the
I had success like this.
brew update brew install openssl # these were suggested by brew itself. export LDFLAGS="-L/usr/local/opt/openssl/lib" export CPPFLAGS="-I/usr/local/opt/openssl/include" export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig" # vanilla compilation ./configure make