compile problem openssh-6.6p1

Miroslav Geisselreiter mg at
Fri Sep 19 23:22:35 EST 2014

Hi all,

First I compile and install openssl-1.0.1i to /opt/openssl and the same 
for zib-1.2.8.
Then I compile openssh-6.6p1 on CentOS 6.5 x86_64.
./configure --prefix=/opt/openssh --with-ssl-dir=/opt/openssl 
--with-xauth=/usr/bin/xauth --with-zlib=/opt/zlib
It stops with this errors:
checking openssl/opensslv.h usability... no
checking openssl/opensslv.h presence... no
checking for openssl/opensslv.h... no
configure: error: *** OpenSSL headers missing - please install first or 
check config.log ***

I think there is something wrong with file "configure" because:
- openssh-6.4p1 compiles fine (v6.5 has the same problem as v6.6)
- when I put file "configure" from v6.4 to v6.6 compiles fine
- when I do yum install openssl-devel (v1.0.1e) and compile v6.6 it uses 
header files from openssl-1.0.1e (and not 1.0.1i from /opt/openssl dir) 
=> it looks like ignoring --with-ssl-dir=/opt/openssl option

Could you please check what is wrong with configure since v6.5? I am not 
programmer but just admin.

Thanks in advance,

Miroslav Geisselreiter
IT administrator / IT manager
support department

INTAR a.s.
Bezručova 81/17a
602 00 Brno
Czech Republic

M +420 605 233 487
T +420 543 422 274
F +420 543 211 173
E  mg at

More information about the openssh-unix-dev mailing list