Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

Try --with-ssl-dir=/usr/local/ssl - your prefix for openssl should work.

share|improve this answer
up vote 0 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.