首页 > 解决方案 > Nginx 与 openssl 构建错误 CentOS 7 -“基本名称:缺少操作数”

问题描述

与问题作斗争,尝试从源代码构建 Nginx,

DigitalOcean VM 上的 CentOS 7,

尝试使用 openssl-1.1.1e 和 openssl-1.1.1d,

[root@digocean nginx-1.17.9]# make
. . . . .
. . . . .
. . . . .
. . . . .
install libssl.a -> /root/openssl-1.1.1e/.openssl/lib/libssl.a
basename: missing operand
Try 'basename --help' for more information.
make[2]: *** [install_dev] Error 1
make[2]: Leaving directory `/root/openssl-1.1.1e'
make[1]: *** [/root/openssl-1.1.1e/.openssl/include/openssl/ssl.h] Error 2
make[1]: Leaving directory `/root/nginx-1.17.9'
make: *** [build] Error 2

./config 成功。

请帮忙,我第一次面对这个!

谢谢!!

标签: nginxbuildopensslcentos

解决方案


FEDORA-EPEL-2020-1dc525ea93同时提供与 OpenSSL 1.1 链接的 Nginx 1.16,这应该是您正在寻找的。


推荐阅读