1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-12 05:23:47 -05:00

For python >= 3.10, add --with-openssl-rpath flag

zstbsqx
2024-09-24 02:51:10 +08:00
parent 39b8d37c82
commit 2abd055ad0

@@ -226,6 +226,14 @@ CONFIGURE_OPTS="--with-openssl=<openssl install prefix>" \
pyenv install -v <python version> pyenv install -v <python version>
``` ```
For python >= 3.10, add `--with-openssl-rpath` flag
```
LDFLAGS="-Wl,-rpath,<openssl install prefix>/lib" \
CONFIGURE_OPTS="--with-openssl=<openssl install prefix> --with-openssl-rpath=auto" \
pyenv install -v <python version>
```
E.g. (invocations that worked for various people): E.g. (invocations that worked for various people):
* RHEL6: * RHEL6: