已经安装了openssl,但是执行 ./configure时还是一直报:./configure: error: SSL modules require the OpenSSL library.
安装tengine时,执行 ./configure时一直报:./configure: error: SSL modules require the OpenSSL library.
1 2 3 4 |
./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源码
1 2 3 |
wget https://www.openssl.org/source/openssl-1.1.1d.tar.gz tar zxvf openssl-1.1.1d.tar.gz |
下载nginx-rtmp-module(rtmp服务)
1 |
https://github.com/arut/nginx-rtmp-module.git |
编译安装
1 |
./configure --prefix=/etc/nginx --with-openssl=../openssl-1.1.1d --add-module=../nginx-rtmp-module |