From 826ce8a4556d439c122bae2c52afdb84a217cbfa Mon Sep 17 00:00:00 2001 From: paulo alem Date: Fri, 15 Mar 2019 14:04:20 +0000 Subject: [PATCH] None of the suggestions worked until I downgraded openssl-dev --- Common-build-problems.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Common-build-problems.md b/Common-build-problems.md index c771851..ce76220 100644 --- a/Common-build-problems.md +++ b/Common-build-problems.md @@ -179,6 +179,12 @@ LDFLAGS="-L/usr/lib/openssl-1.0" \ CFLAGS="-I/usr/include/openssl-1.0" \ pyenv install -v 3.4.3 ``` +If you're having trouble to get it to compile older python versions(<3.5) even after installing the recommended packages on ubuntu, changing the openssl lib might help: + +```sh +sudo apt-get remove libssl-dev +sudo apt-get install libssl1.0-dev +``` * Alternatively, if you installed openssl with macports, use the following paths: