[Bug 3668] New: OpenSSL version header not found

bugzilla-daemon at mindrot.org
Fri, 16 Feb 2024 11:44:13 -0000

Bug ID: 3668
           Summary: OpenSSL version header not found
           Product: Portable OpenSSH
           Version: 9.6p1
          Hardware: ix86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Build system
          Assignee: unassigned-bugs at mindrot.org
          Reporter: fatcharly at gmx.de

Created attachment 3790
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3790&action=edit
config.log

Hi,

I'm trying to compile an openssh 9.6p1 with an openssl 3.0.13.
I get this error:
...
checking for openssl... /usr/bin/openssl
checking for openssl/opensslv.h... yes
checking OpenSSL header version... not found
configure: error: OpenSSL version header not found.

I compile with this configure command:
./configure --prefix=/opt/openssh
--includedir=/opt/openssl/include/openssl --with-ssl-dir=/opt/openssl
--with-xauth=/usr/bin/xauth --with-zlib=/opt/zlib

The file openssl.v is present under /opt/openssl/include/openssl

This error also happends with the newest openssl 3.2.1

I attach the config.log

best regards

fatcharly