Re: Version of OpenSSl ?

Liste des GroupesRevenir à cl python 
Sujet : Re: Version of OpenSSl ?
De : jsf80238 (at) *nospam* gmail.com (Jason Friedman)
Groupes : comp.lang.python
Date : 09. Feb 2025, 16:12:56
Autres entêtes
Message-ID : <mailman.103.1739113990.2912.python-list@python.org>
References : 1 2
>
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)
>
-------------------------------------------------------------------------------------------------------
>

In case this helps you find the correct package to install:

$ python3 -c "if True:
    import ssl
    print('Ok.')
"
Ok.

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.1 LTS"

$ apt list --installed | grep ssl

WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.

libssl-dev/noble-updates,noble-security,now 3.0.13-0ubuntu3.4 amd64
[installed]
libssl3t64/noble-updates,noble-security,now 3.0.13-0ubuntu3.4 amd64
[installed,automatic]
libxmlsec1t64-openssl/noble,now 1.2.39-5build2 amd64 [installed,automatic]
openssl/noble-updates,noble-security,now 3.0.13-0ubuntu3.4 amd64
[installed,automatic]
ssl-cert/noble,noble,now 1.1.2ubuntu1 all [installed,automatic]

Date Sujet#  Auteur
9 Feb 25 o Re: Version of OpenSSl ?1Jason Friedman

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal