Welcome! Log In Create A New Profile

Advanced

Compile nginx add openssl

August 19, 2009 11:10PM
system:centos 5.3
yum -y install openssl openssl-devel
./configure --user=webuser --group=webuser --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_sub_module --with-md5=/usr/lib --with-sha1=/usr/lib --with-http_gzip_static_module
Compile nginx 0.8.9 is right

use openssl Version update to 0.98K
tar zxvf openssl*
cd openssl*
./config --prefix=/usr shared
make && make install
ldconfig -v
cd ../
cd nginx*
./configure --user=webuser --group=webuser --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_sub_module --with-md5=/usr/lib --with-sha1=/usr/lib --with-http_gzip_static_module
Compile nginx 0.8.9 or 0.8.4 0.7.61 is error!
error info:
objs/src/http/ngx_http_request.o: In function `ngx_http_ssl_servername':
ngx_http_request.c:(.text+0xba7): undefined reference to `SSL_get_servername'
ngx_http_request.c:(.text+0xc5b): undefined reference to `SSL_set_SSL_CTX'
collect2: ld return 1
make[1]: *** [objs/nginx] error 1
make[1]: Leaving directory `/web/scr/nginx-0.8.4'
make: *** [build] error 2

How do I?
Subject Author Posted

Compile nginx add openssl

ronin August 19, 2009 11:10PM

Re: Compile nginx add openssl

Igor Sysoev August 20, 2009 07:54AM

Re: Compile nginx add openssl

ronin August 23, 2009 05:21AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 193
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