This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Lukas.Vacek
Recipients Lukas.Vacek, christian.heimes
Date 2019-11-15.14:19:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573827570.44.0.907215833633.issue38794@roundup.psfhosted.org>
In-reply-to
Content
However, I'm still convinced many would appreciate adding this ./configure option:

https://github.com/pyenv/pyenv/issues/1184#issuecomment-403149437
https://joshspicer.com/python37-ssl-issue
https://superuser.com/questions/1428109/install-python-3-7-3-from-source-with-ssl-failed
https://raspberrypi.stackexchange.com/questions/88150/how-to-install-python-3-7-with-ssl
https://stackoverflow.com/questions/53543477/building-python-3-7-1-ssl-module-failed
https://help.dreamhost.com/hc/en-us/articles/115000702772-Installing-a-custom-version-of-Python-3#3.7.1
https://stackoverflow.com/questions/55928393/compile-python-3-6-statically-with-openssl
https://readthisblog.net/2018/08/13/til-how-to-build-python-3-7-with-statically-linked-libssl-and-libcrypto/
https://gist.github.com/eddy-geek/9604982

If you look at the associated PR you will see it should work fine, and be useful, on other POSIX systems as well. I can test on *BSD if necessary.

Only extra depedency of --with-openssl-static compared to --with-openssl is an assumption of existing files libssl.a libcrypto.a and OpenSSL has provided these files (when compiled static) since the very beginning despite somewhat frequent ABI changes. Option --with-openssl-static works with current libressl as well.
History
Date User Action Args
2019-11-15 14:19:30Lukas.Vaceksetrecipients: + Lukas.Vacek, christian.heimes
2019-11-15 14:19:30Lukas.Vaceksetmessageid: <1573827570.44.0.907215833633.issue38794@roundup.psfhosted.org>
2019-11-15 14:19:30Lukas.Vaceklinkissue38794 messages
2019-11-15 14:19:29Lukas.Vacekcreate