Welcome! Log In Create A New Profile

Advanced

Configure can't find SSL library

August 03, 2010 02:23PM
Hello,

I'm installing Nginx 0.8.40 on Solaris 10 with SSL module enabled. But configure command (./configure --prefix=/export/home/tomcat/nginx --with-http_ssl_module) failed with following messages in autoconf.err.

=========================
checking for OpenSSL library

objs/autotest.c:4:25: openssl/ssl.h: No such file or directory
----------

#include <sys/types.h>
#include <unistd.h>
#include <openssl/ssl.h>

int main() {
SSL_library_init();
return 0;
}

----------
gcc -D_FILE_OFFSET_BITS=64 -lsocket -lnsl -o objs/autotest objs/autotest.c -lssl -lcrypto
==========================

I have installed openSSL and is available on the PATH.
OpenSSL> version
OpenSSL 0.9.7d 17 Mar 2004

Do I need to specify some kind environment variable for SSL library? What's the default path Nginx will look for OpenSSL library?

Thanks,
William
Subject Author Posted

Configure can't find SSL library

WilliamOMS August 03, 2010 02:23PM

Re: Configure can't find SSL library

Igor Sysoev August 03, 2010 02:52PM

Re: Configure can't find SSL library

WilliamOMS August 03, 2010 03:38PM

Re: Configure can't find SSL library

Igor Sysoev August 03, 2010 04:12PM

Re: Configure can't find SSL library

WilliamOMS August 03, 2010 04:37PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 258
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready