vincent.vandevy...@oqapy.eu writes:
> 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)
> -------------------------------------------------------------------------------------------------------

You have the openssl command, but do you have the openssl development
libraries?

For Ubuntu, you need to install the libssl-dev package.
`dpkg -l libssl-dev` will tell you whether you have it.
If you don't, `sudo apt-get install libssl-dev` will install it.

-- 
Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to