[issue45291] Some instructions in the "Using Python on Unix platforms" document do no work on CentOS 7

Yiyang Zhan report at bugs.python.org
Sun Sep 26 06:58:45 EDT 2021


New submission from Yiyang Zhan <pon.zhan at gmail.com>:

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.

----------
assignee: docs at python
components: Documentation
messages: 402657
nosy: docs at python, zhanpon
priority: normal
severity: normal
status: open
title: Some instructions in the "Using Python on Unix platforms" document do no work on CentOS 7
type: enhancement
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45291>
_______________________________________


More information about the Python-bugs-list mailing list