From c96e0f628f2f1ee043fc5441d93be7ea17dd02fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Wei=28=E4=BD=8D=E8=A5=BF=E6=9C=8B=29?= Date: Wed, 29 Jun 2022 17:46:16 +0800 Subject: [PATCH] =?UTF-8?q?add=20rpath=20=20LDFLAGS=20for=20=E2=80=9DMissi?= =?UTF-8?q?ng=20the=20OpenSSL=20lib=E2=80=9C=20when=20build=20python=203.1?= =?UTF-8?q?0+?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Common-build-problems.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Common-build-problems.md b/Common-build-problems.md index f90e78f..6b926bf 100644 --- a/Common-build-problems.md +++ b/Common-build-problems.md @@ -162,6 +162,14 @@ or, alternatively, [for Python 3.7+](https://bugs.python.org/issue32598), instea CONFIGURE_OPTS="--with-openssl=" ``` +or + +```sh +LDFLAGS="-Wl,-rpath,/lib" \ +CONFIGURE_OPTS="--with-openssl=" \ +pyenv install -v +``` + E.g. (invocations that worked for various people): * RHEL6: