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

2021-09-26 Thread Yiyang Zhan


New submission from Yiyang Zhan :

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. 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 
<https://bugs.python.org/issue45291>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2021-09-26 Thread Yiyang Zhan


Change by Yiyang Zhan :


--
keywords: +patch
pull_requests: +26950
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/28566

___
Python tracker 
<https://bugs.python.org/issue45291>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2021-09-29 Thread Yiyang Zhan

Yiyang Zhan  added the comment:

Thank you for reviewing the pull request 😄

--

___
Python tracker 
<https://bugs.python.org/issue45291>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com