Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature: Mention how to configure path to OpenSSL #1727

Open
@RafaelWO

Description

@RafaelWO

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 newer

After 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 newer

I 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.)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2026 Movatter.jp