compiling on an older system (Centos 6)

Stan Dickerson stan at energycontrolsystems.com
Tue Mar 11 03:10:40 AEDT 2025


Centos 6 - 2.6.32-573.el6.x86_64 #1 SMP Thu Jul 23 15:44:03 UTC 2015 
x86_64 x86_64 x86_64 GNU/Linux

I'm trying to compile openssh-9.9p2. I compiled openssl-3.0.16 in 
/usr/local.

./configure  --prefix=/usr --with-pam --with-selinux 
--with-privsep-path=/var/lib/sshd/ --sysconfdir=/etc/ssh 
--with-ssl-dir=/usr/local

I'm getting:

|checking for openssl... /usr/local/bin/openssl checking for 
openssl/opensslv.h... yes checking OpenSSL header version... 30000100 
(OpenSSL 3.0.16 11 Feb 2025) checking for OpenSSL_version... no checking 
for OpenSSL_version_num... no checking OpenSSL library version... not 
found configure: error: OpenSSL library not found.

I tried superuser.com but only got one response.

https://superuser.com/questions/1884767/how-can-i-fix-openssl-version-no-and-openssl-version-num-when-compiling-o?noredirect=1#comment2977271_1884767

|
Stan Dickerson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stan.vcf
Type: text/vcard
Size: 361 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20250310/aacfc0ec/attachment.vcard>


More information about the openssh-unix-dev mailing list