[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-security] OpenSSH



I am trying to install the latest vesion of OpenSSH and get the following failure
in the config.log after running ./configure --with-ssl-dir=/usr/include/openssl
 
any ideas?
 
Adam
 
 
configure:4371: checking for OpenSSL directory
configure:4428: gcc -o conftest -g -O2 -Wall  -I/usr/include/openssl  -L/usr/include/openssl conftest.c -lz -lnsl  -lutil  -lcrypto$
configure: In function `main':
configure:4422: warning: implicit declaration of function `RAND_add'
configure:4423: warning: implicit declaration of function `RAND_status'
/tmp/ccyMkvTZ.o: In function `main':
/home/cs/ssh/openssh-2.5.1p1/configure:4422: undefined reference to `RAND_add'
/home/cs/ssh/openssh-2.5.1p1/configure:4423: undefined reference to `RAND_status'
collect2: ld returned 1 exit status
configure: failed program was:
#line 4414 "configure"
#include "confdefs.h"
 
#include <string.h> 
#include <openssl/rand.h>
int main(void)
{
        char a[2048];
        memset(a, 0, sizeof(a));
        RAND_add(a, sizeof(a), sizeof(a));
        return(RAND_status() <= 0);
}
       
configure:4428: gcc -o conftest -g -O2 -Wall   conftest.c -lz -lnsl  -lutil  -lcrypto 1>&5
configure: In function `main':
configure:4422: warning: implicit declaration of function `RAND_add'
configure:4423: warning: implicit declaration of function `RAND_status'
/tmp/ccWIjXsd.o: In function `main':