HI Vincent. You need the sources of the OpenSSL library, not the compiled library. On Ubuntu, the packages with sources are typically named xxx-dev where xxx is the package that provides the library. I don't have a Ubuntu currently, but try looking for something like openssl-dev or libopenssl-dev etc.
On Sun, Feb 9, 2025 at 9:35 AM Vincent Vande Vyvre via Python-list <python-list@python.org> wrote: > > Hi, > > Trying to compile Python-3.12.9 on Ubuntu-24.04 > > The compilation is complete without errors but I have this message: > -------------------------------------------------------------------------------------------------------- > The necessary bits to build these optional modules were not found: > _hashlib _ssl nis > To find the necessary bits, look in configure.ac and config.log. > > Could not build the ssl module! > Python requires a OpenSSL 1.1.1 or newer > -------------------------------------------------------------------------------------------------------- > > But I have a more newer version: > > ------------------------------------------------------------------------------------------------------- > $ openssl version > OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) > ------------------------------------------------------------------------------------------------------- > > What can I do for that ? > > Vincent. > -- > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list