diff --git a/Common-build-problems.md b/Common-build-problems.md index c3228a2..ff16bab 100644 --- a/Common-build-problems.md +++ b/Common-build-problems.md @@ -226,6 +226,14 @@ CONFIGURE_OPTS="--with-openssl=" \ pyenv install -v ``` +For python >= 3.10, add `--with-openssl-rpath` flag + +``` +LDFLAGS="-Wl,-rpath,/lib" \ +CONFIGURE_OPTS="--with-openssl= --with-openssl-rpath=auto" \ +pyenv install -v +``` + E.g. (invocations that worked for various people): * RHEL6: