configure: error: Could not find working SSLeay / OpenSSL libraries
Nick Stevenson
nstevens at arm.com
Thu Jun 22 02:13:30 EST 2000
Hi,
I've built and installed the openssl-0.9.1c package but openssh-2.1.1p1
configure can't apparently 'see' the package. I've tried adding the install
directory to LD_LIBRARY_PATH, using CFLAGS, LDFLAGS, LIBS etc. The 'missing'
rand.h is present n the included path shown in the config.log output below.
What am I missing? Any help would be very much appreciated. The platform is
Solaris v2.5.1, gcc 2.7.2.3 - please send replies to me, I'm not subscribed.
TIA,
--
Nick
------------8<------------
configure:2582: gcc -o conftest -I/home/nstevens/unix/PACKAGES/openssl-0.9.1c/i
n
clude -Wall -I/usr/local/include -I/opt/openssl/include
-L/home/nstevens/unix/P
ACKAGES/openssl-0.9.1c/lib -L/usr/local/lib -R/usr/local/lib -L/usr/ucblib
-R/us
r/ucblib -L/opt/openssl/lib -L/opt/openssl -R/opt/openssl/lib -R/opt/openssl
con
ftest.c -lsocket -lnsl -lz -lcrypto -lcrypto 1>&5
configure:2571: openssl/rand.h: No such file or directory
configure: failed program was:
#line 2568 "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);
}
-------------8<-------------
More information about the openssh-unix-dev
mailing list