I am having problems getting configure to find openssl on a Sun Sparc 20
running Solaris 2.6.  Could someone help me?

I have completed the compile on Solaris 2.6, sun4u; Solaris 7, sun4u; and 
Solaris 8, sun4u.  Just not Solaris 2.6, sun4m.  I have used the same
NFS mounted /usr/local directory across all compiles.

The error is:
checking for OpenSSL directory... configure: error: Could not find working 
OpenSSL library, please install or check config.log

config.log says:
configure:4433: gcc -o conftest -g -O2 -Wall -I/opt -I/usr/local/site/include
-I/usr/local/include -R/opt -L/opt  -L/usr/local/lib -R/usr/local/lib conftest.c
 -lz -lsocket -lnsl  -lgen -lcrypto 1>&5
configure: failed program was:
#line 4419 "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);


The configure command line was:
./configure --sbindir=/sbin --bindir=/bin --libexecdir=/bin --mandir=/usr/man --
sysconfdir=/etc/ssh --with-ssl-dir=/usr/local/site/include

I have also tried --with-ssl-dir=/usr/local/site/include/openssl.


openssl is in:
/usr/local/site/include/openssl


Thank you for your help in advance.

Jeff

+------------------------------+---------------------------------+
|   Jeff Marble                | Phone   : (208)-368-1252        |
|   Micron Technology, Inc.    | E-mail  : [EMAIL PROTECTED]   |
+------------------------------+---------------------------------+


Reply via email to