I am trying to configure OpenSSH 3.4P1 using OpenSSL 0.9.6d without success
# LIBS="-ldl" CPPFLAGS="-I/usr/include/openssh" ./configure --with-tcp-wrappers
--with-ssl-dir=/usr/share/ssl/lib
<bunch_of stuff>
checking for getpagesize... yes
checking whether snprintf correctly terminates long strings... yes
checking whether getpgrp requires zero arguments... yes
checking whether OpenSSL's headers match the library... no
configure: error: Your OpenSSL headers do not match your library
portion of config.log
configure:7780: result: yes
configure:8149: gcc -o conftest -g -O2 -Wall -Wpointer-arith -Wno-uninitialized
-I/usr/include/openssh conftest.c -lutil -lz -lnsl -ldl -lcrypto >&5
configure:8152: $? = 0
configure:8155: test -s conftest
configure:8158: $? = 0
configure:8233: checking whether OpenSSL's headers match the library
configure:8250: gcc -o conftest -g -O2 -Wall -Wpointer-arith -Wno-uninitialized
-I/usr/include/openssh conftest.c -lutil -lz -lnsl -ldl -lcrypto >&5
configure: In function `main':
configure:8244: warning: implicit declaration of function `SSLeay'
configure:8253: $? = 0
configure:8255: ./conftest
configure:8258: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 8240 "configure"
#include "confdefs.h"
#include <string.h>
#include <openssl/opensslv.h>
int main(void) { return(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); }
configure:8270: result: no
configure:8272: error: Your OpenSSL headers do not match your library
I also recompiled and installed OpenSSL:
# ls -l /usr/share/ssl/lib
total 8388
-rw-r--r-- 1 root root 1408930 Jun 26 15:33 libcrypto.a
lrwxrwxrwx 1 root root 14 Jun 26 15:33 libcrypto.so -> libcrypto.so.0
lrwxrwxrwx 1 root root 18 Jun 26 15:33 libcrypto.so.0 ->
libcrypto.so.0.9.6
-rw-r--r-- 1 root root 896785 Jun 26 15:33 libcrypto.so.0.9.6
-rw-r--r-- 1 root root 265238 Jun 26 15:33 libssl.a
lrwxrwxrwx 1 root root 11 Jun 26 15:33 libssl.so -> libssl.so.0
lrwxrwxrwx 1 root root 15 Jun 26 15:33 libssl.so.0 -> libssl.so.0.9.6
-rw-r--r-- 1 root root 212841 Jun 26 15:33 libssl.so.0.9.6
#
Any clues...
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]