I keep getting OpenSSL Header Version not found error when compiling OpenSSH Debian Squeeze

Posted by Romoku on Server Fault See other posts from Server Fault or by Romoku
Published on 2011-07-14T12:25:45Z Indexed on 2012/06/06 22:42 UTC
Read the original article Hit count: 343

Filed under:
|
|
|
|

I built Openssl1.0.0d ./config shared no-threads zlib

It installed fine to the default /usr/local/ssl

I went and downloaded OpenSSH 5.8p2 and ran ./configure

but now it keeps giving me a Openssl version header not found error even when I set --with-ssl-dir=

I've tried it with arguments /usr/local/ssl/include /usr/local/ssl/include/openssl /usr/include /usr/local/ssl/lib

I looked in config.log and found error: openssl/opensslv.h: no such file or directory which makes little sense since I pointed openssh to where it is store.

/etc/ld.so.conf

include /usr/local/ssl/lib

I'm at a loss at this point.

Answer (maybe):

Because I am an idiot.

include /usr/local/ssl/lib is incorrect.

/usr/local/ssl/lib is correct.

It needs to be before the first include.

© Server Fault or respective owner

Related posts about ssh

Related posts about debian