mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-13 22:03:52 -05:00
add rpath LDFLAGS for ”Missing the OpenSSL lib“ when build python 3.10+
@@ -162,6 +162,14 @@ or, alternatively, [for Python 3.7+](https://bugs.python.org/issue32598), instea
|
|||||||
CONFIGURE_OPTS="--with-openssl=<openssl install prefix>"
|
CONFIGURE_OPTS="--with-openssl=<openssl install prefix>"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
```sh
|
||||||
|
LDFLAGS="-Wl,-rpath,<openssl install prefix>/lib" \
|
||||||
|
CONFIGURE_OPTS="--with-openssl=<openssl install prefix>" \
|
||||||
|
pyenv install -v <python version>
|
||||||
|
```
|
||||||
|
|
||||||
E.g. (invocations that worked for various people):
|
E.g. (invocations that worked for various people):
|
||||||
|
|
||||||
* RHEL6:
|
* RHEL6:
|
||||||
|
|||||||
Reference in New Issue
Block a user