Skip to content

Commit 20ad71e

Browse files
Docs: Add troubleshooting for OpenSSL build errors
Adds the --with-openssl-rpath=auto flag to help resolve "Python requires a OpenSSL 1.1.1 or newer" errors on Linux/WSL. Fixes #1727.
1 parent b3bbf54 commit 20ad71e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

getting-started/setup-building.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,16 @@ Configuration is typically::
197197
More flags are available to ``configure``, but this is the minimum you should
198198
do to get a pydebug build of CPython.
199199

200+
.. note::
201+
**Could not build the ssl module!**
202+
203+
If the build fails with an error stating ``Python requires a OpenSSL 1.1.1 or newer``
204+
despite having it installed, try using the following configuration flag:
205+
206+
.. code-block:: bash
207+
208+
./configure --with-openssl-rpath=auto
209+
200210
.. note::
201211
You might need to run ``make clean`` before or after re-running ``configure``
202212
in a particular build directory.

0 commit comments

Comments
 (0)