New submission from Yiyang Zhan <pon.z...@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@python
components: Documentation
messages: 402657
nosy: docs@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue45291>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to