Dear All,
I run into trouble when compiling openresty. I downloaded version 1.4.3.6 and 1.4.3.9. When I type 'make' I get for both versions the error below (see end of email for some more lines).[1]
src/event/ngx_event_openssl.c: In function ‘ngx_ssl_create’:
src/event/ngx_event_openssl.c:189:35: error: ‘SSL_OP_MSIE_SSLV2_RSA_PADDING’ undeclared (first use in this function)
SSL_CTX_set_options(ssl->ctx, SSL_OP_MSIE_SSLV2_RSA_PADDING);
I tried to follow carefully the installation manual (I got debian sid) and made sure that prerequisites are properly installed (dpkg -i <deb-package>).[2]
libreadline-dev:i386, 6.2+dfsg-0.1, i386
libncurses5-dev:i386, 5.9+20130608-1, i386
libpcre3-dev:i386, 1:8.31-2, i386
libssl-dev:i386, 1.0.1e-6, i386
perl v5.18.1
$ which ldconfig
/sbin/ldconfig
$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Any hints will be gratefully received.
Cheers,
Sam
[1]
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -g -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR -DLUA_DEFAULT_PATH='"/usr/local/openresty/lualib/?.lua;/usr/local/openresty/lualib/?/init.lua"' -DLUA_DEFAULT_CPATH='"/usr/local/openresty/lualib/?.so"' -DNDK_SET_VAR -I src/core -I src/event -I src/event/modules -I src/http -I src/http/modules -I src/os/unix -I ../ngx_devel_kit-0.2.19/objs -I objs/addon/ndk -I /opt/openresty/if/ngx_openresty-1.4.3.9/build/lua-root/usr/local/openresty/lua/include -I ../ngx_lua-0.9.3/src/api -I objs \
-o objs/src/event/ngx_event_openssl.o \
src/event/ngx_event_openssl.c
In file included from src/event/ngx_event_openssl.h:15:0,
from src/core/ngx_core.h:73,
from src/event/ngx_event_openssl.c:9:
src/event/ngx_event_openssl.c: In function ‘ngx_ssl_create’:
src/event/ngx_event_openssl.c:189:35: error: ‘SSL_OP_MSIE_SSLV2_RSA_PADDING’ undeclared (first use in this function)
SSL_CTX_set_options(ssl->ctx, SSL_OP_MSIE_SSLV2_RSA_PADDING);
^
src/event/ngx_event_openssl.c:189:35: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [objs/src/event/ngx_event_openssl.o] Error 1
make[2]: Leaving directory `/opt/openresty/if/ngx_openresty-1.4.3.9/build/nginx-1.4.3'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/opt/openresty/if/ngx_openresty-1.4.3.9/build/nginx-1.4.3'
make: *** [all] Error 2
[2|
|/ Name Version Architecture Description
+++-=========================-=================-=================-=======================================================
ii libreadline-dev:i386 6.2+dfsg-0.1 i386 GNU readline and history libraries, development files]
||/ Name Version Architecture Description
+++-=========================-=================-=================-=======================================================
ii libncurses5-dev:i386 5.9+20130608-1 i386 developer's libraries for ncurses
||/ Name Version Architecture Description
+++-=========================-=================-=================-=======================================================
ii libpcre3-dev:i386 1:8.31-2 i386 Perl 5 Compatible Regular _expression_ Library - developm
||/ Name Version Architecture Description
+++-=========================-=================-=================-=======================================================
ii libssl-dev:i386 1.0.1e-6 i386 Secure Sockets Layer toolkit - development files
perl --version
This is perl 5, version 18, subversion 1 (v5.18.1) built for i486-linux-gnu-thread-multi-64int
make --version
GNU Make 3.81
--
Samuel Bächler
Obere Bläsistrasse 1
8049 Zürich
Web:
boeser.chTel: +41(0)43 817 46 28
Mob: +41(0)79 478 49 42