Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197234

Re: Version of OpenSSl ?

From Jason Friedman <jsf80238@gmail.com>
Newsgroups comp.lang.python
Subject Re: Version of OpenSSl ?
Date 2025-02-09 08:12 -0700
Message-ID <mailman.103.1739113990.2912.python-list@python.org> (permalink)
References <20250209092819.BLUK2E0092BKbYl01LUKR6@andre.telenet-ops.be> <CANy1k1g3fnHFp1zQrEv+f6pVfR=MWHUcuR4Q1Tum5UaW39h6qg@mail.gmail.com>

Show all headers | View raw


>
> 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]

Back to comp.lang.python | Previous | Next | Find similar


Thread

Re: Version of OpenSSl ? Jason Friedman <jsf80238@gmail.com> - 2025-02-09 08:12 -0700

csiph-web