Getting the below error while configuring python3.9.10 with the below command
./configure --prefix=/opt/python3 --with-openssl=/usr/local/openssl/include/openssl
checking for openssl/ssl.h in /usr/local/openssl/bin/openssl... no
checking whether compiling and linking against OpenSSL works... no
Using linux version 7 and openssl version OpenSSL 1.1.1n 15 Mar 2022
CodePudding user response:
Install libssl-dev in Debian/Ubuntu or openssl-devel in RH/CentOS