Use --with-ssl-dir=/usr/local/site
Or, if that doesn't work...
CLFAGS="-L /path/to/openssl/library -I /path/to/openssl/includes"
./configure ...
And then use the same for the make...
CLFAGS="-L /path/to/openssl/library -I /path/to/openssl/includes" make
__________________________________
Raymond T Sundland
Internet Security Analyst
Internet Infrastructure & Security Group
E-commerce Strategy & Delivery
Phone: 201.703.7256
Email: [EMAIL PROTECTED]
__________________________________
Merck-Medco Managed Care L.L.C.
http://www.merckmedco.com/
| -----Original Message-----
| From: Jeff Marble [mailto:[EMAIL PROTECTED]]
| Sent: Wednesday, July 25, 2001 3: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] |
| +------------------------------+---------------------------------+
|
|