From a0a58246a1397e2b66f9edc55e93d699944a56a2 Mon Sep 17 00:00:00 2001 From: Christopher Baek Date: Mon, 4 Feb 2019 17:56:41 -0800 Subject: [PATCH] Add instructions for readline build issues --- Common-build-problems.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Common-build-problems.md b/Common-build-problems.md index f3f12a2..4784550 100644 --- a/Common-build-problems.md +++ b/Common-build-problems.md @@ -138,6 +138,12 @@ If you experience both issues with openssl and zlib, you can specify both search CFLAGS="-I$(brew --prefix openssl)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib" ``` +If you experience issues with readline, you can also specify this as a compiler flag: + +```sh +CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib" +``` + ## ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib? * If you have homebrew openssl and pyenv installed, you may need to tell the compiler where the openssl package is located: