You may want to install openssl at /usr/local directory which is the default
directory that it uses when you
install openSSL with the default options, else you would have this issue,
the reason is the configure script checks 
for a bunch of ssl libraries in /usr/local.
I too faced this issue and the only way I could get around is by installing
openssl in /usr/local ( or the default 
directory for your platform, mine was hp-ux 11.00)
-Rgds
Lakshmi


-----Original Message-----
From: Jeff Marble [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001 12:09 PM
To: [EMAIL PROTECTED]
Subject: Compiling 2.9p2 on Solaris 2.6


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