diff --git a/Common-build-problems.md b/Common-build-problems.md index 9e134a4..72e429f 100644 --- a/Common-build-problems.md +++ b/Common-build-problems.md @@ -108,6 +108,11 @@ BUILD FAILED CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v 2.7.7 ``` +* If you installed zlib with Homebrew, you can set the CPPFLAGS environment variable: +```sh +CPPFLAGS="-I/usr/local/opt/zlib/include" pyenv install -v 3.7.0 +``` + * Alternatively, try reinstalling XCode command line tools for your OS (especially if you just upgraded your OS) ```sh