./configure: error: SSL modules require the OpenSSL library

在编译 Nginx 时遇到这样的错误,明显是缺少 openssl 环境,需要手动安装

CentOS

 

1
$ yum -y install openssl openssl-devel

Ubuntu

1
$ apt -y install openssl openssl-devel
posted @ 2020-10-07 21:31  养猪至富  阅读(3274)  评论(1编辑  收藏  举报