Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork977
Description
Describe the enhancement or feature you would like
I would like the devguide (Setup and building / Troubleshoot the build) to mention a solution for troubleshooting issues with building thessl module - specifically, this error:
Could not build the ssl module!Python requires a OpenSSL 1.1.1 or newerAfter a lot of trial and error I foundthis comment on a GH issue which solved my problem. The key is to set--with-openssl-rpath=auto when running./configure.
If other's agree, I am happy to open a PR that adds this to the devguide 🙂
Describe alternatives you have considered
I searched the web for similar issues and found a not-so-helpful SO answer, but eventually ended up atthis comment, which helped me solve my problem.
Additional context
I tried to setup my machine (Linux, Ubuntu, WSL) to compile and build CPython according to thedevguide. However, I got stuck with the following error after running ./configure --with-pydebug followed bymake:
Could not build the ssl module!Python requires a OpenSSL 1.1.1 or newerI ranopenssl --version and gotOpenSSL 3.4.0 22 Oct 2024. Then, I ensured that I had all dependencies installed to build all optional modules. Still, I got the same error.
After some searching, I found the configure option--with-openssl=DIR which I pointed to the directory of the openssl binary - did not help.
(I wanted to build thessl module because otherwise I could not install packages withpip in my virtual environment created with the built Python.)