When I try to install nginx/rtmp using many tutorials (Debian) I got
I followed: http://www.leaseweblabs.com/2013/11/streaming-video-demand-nginx-rtmp-module/ and http://blog.hemp-society.de/2013/08/nginx-rtmp-installation.html
and all got me the same error:
I tried with these 2 configurations:
./configure --add-module=/root/nginx/nginx-rtmp-module/ --with-http_ssl_module --prefix=/usr/local/nginx-streaming/
./configure --add-module=../nginx-rtmp-module-master
~/nginx/nginx-1.4.3# make
make -f objs/Makefile make[1]: entrant dans le répertoire « /root/nginx/nginx-1.4.3 » cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/root/nginx/nginx-rtmp-module/ -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_openssl.o \ src/event/ngx_event_openssl.c src/event/ngx_event_openssl.c: In function ngx_ssl_create: src/event/ngx_event_openssl.c:189:5: error: âSSL_OP_MSIE_SSLV2_RSA_PADDINGâ undeclared (first use in this function) src/event/ngx_event_openssl.c:189:5: note: each undeclared identifier is reported only once for each function it appears in make[1]: * [objs/src/event/ngx_event_openssl.o] Erreur 1 make[1]: quittant le répertoire « /root/nginx/nginx-1.4.3 » make: * [build] Erreur 2
It looks like the problem is openssl.
make install
make -f objs/Makefile install make[1]: entrant dans le répertoire « /root/nginx/nginx-1.4.3 » cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/root/nginx/nginx-rtmp-module/ -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_openssl.o \ src/event/ngx_event_openssl.c src/event/ngx_event_openssl.c: In function ângx_ssl_createâ: src/event/ngx_event_openssl.c:189:5: error: âSSL_OP_MSIE_SSLV2_RSA_PADDINGâ undeclared (first use in this function) src/event/ngx_event_openssl.c:189:5: note: each undeclared identifier is reported only once for each function it appears in make[1]: * [objs/src/event/ngx_event_openssl.o] Erreur 1 make[1]: quittant le répertoire « /root/nginx/nginx-1.4.3 » make: * [install] Erreur 2
can someone help me with that ?
configure
command. – jww Jun 4 '14 at 3:39SSL_OP_MSIE_SSLV2_RSA_PADDING
was removed in OpenSSL 1.0.2. According to Debian's package search, the distro uses OpenSSL 1.0.1, and not higher versions (unless you are usingrc-buggy
). What version of OpenSSL are you using? – jww Jun 4 '14 at 12:12