2011年3月17日星期四

Re: cant find openssl

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

没有评论:

发表评论