Maxim Dounin
March 17, 2011 10:42AM
Hello!

On Thu, Mar 17, 2011 at 09:51:45AM -0400, c_saunders wrote:

> OS:redhat 5.6
>
> nginx version=nginx-0.8.54
>
> getting following error
>
> checking for OpenSSL library ... not found
>
> ./configure: error: SSL modules require the OpenSSL library.
> You can either do not enable the modules, or install the OpenSSL library
> into the system, or build the OpenSSL library statically from the source
> with nginx by using --with-openssl=<path> option.
>
> openssl is installed
> -bash-3.2# which openssl
> /usr/bin/openssl
>
> openssl-devel is as well
>
> which lib is it looking forward?

nginx looks for openssl/ssl.h header and libssl and libcrypto
libraries.

Use something like

../configure --with-cc-opt="-I /path/to/include" --with-ld-opt="-L /path/to/lib"

if you don't have these available to compiler by default.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

cant find openssl

c_saunders March 17, 2011 09:51AM

Re: cant find openssl

c_saunders March 17, 2011 10:02AM

Re: cant find openssl

Maxim Dounin March 17, 2011 10:42AM

Re: cant find openssl

c_saunders March 17, 2011 11:51AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 56
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready