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 zhanpon
Recipients docs@python, zhanpon
Date 2021-09-26.10:58:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632653925.67.0.37350677863.issue45291@roundup.psfhosted.org>
In-reply-to
Content
The instructions in "Custom OpenSSL" section of "Using Python on Unix platforms" do not work on CentOS 7: https://github.com/python/cpython/blob/v3.10.0rc2/Doc/using/unix.rst#custom-openssl.

CPython's ./configure script assumes the OpenSSL's library resides in "$ssldir/lib". This isn't guaranteed with the current instruction, because OpenSSL might create for example lib64 for the .so files. See https://github.com/openssl/openssl/blob/openssl-3.0.0/INSTALL.md#libdir:

> Some build targets have a multilib postfix set in the build configuration. For these targets the default libdir is lib<multilib-postfix>. Please use --libdir=lib to override the libdir if adding the postfix is undesirable.

Therefore it's better to explicitly set --libdir=lib.
History
Date User Action Args
2021-09-26 10:58:45zhanponsetrecipients: + zhanpon, docs@python
2021-09-26 10:58:45zhanponsetmessageid: <1632653925.67.0.37350677863.issue45291@roundup.psfhosted.org>
2021-09-26 10:58:45zhanponlinkissue45291 messages
2021-09-26 10:58:45zhanponcreate