Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.python Subject: Re: Version of OpenSSl ? Date: Sun, 09 Feb 2025 02:35:31 -0800 Organization: None to speak of Lines: 32 Message-ID: <87zfivz9qk.fsf@nosuchdomain.example.com> References: <20250209092819.BLUK2E0092BKbYl01LUKR6@andre.telenet-ops.be> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Sun, 09 Feb 2025 11:35:32 +0100 (CET) Injection-Info: dont-email.me; posting-host="34fb8384ef092386b3b71665d9762f0d"; logging-data="597096"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/999l/f6KjVveKdqyIyn1H" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:O3AX9Q4pU1myXPK8dHNNa1Jta5Y= sha1:H8TDOIcu1/8rhmdlq3p7iuetDd4= Xref: csiph.com comp.lang.python:197231 vincent.vandevyvre@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.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */