You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用自定义编译OpenSSL编译Nginx时提示找不到config文件的问题咨询

自定义编译OpenSSL编译Nginx时提示找不到config文件的问题咨询

我已经在NGINX的GitHub仓库提交了一个issue,想再确认一下当前遇到的情况是预期行为还是异常问题。

我的需求是用自己编译成功的OpenSSL来编译Nginx,但每次执行make命令编译Nginx时,总会触发如下错误:

cd /opt/nginx-1.26.2 \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/opt/nginx-1.26.2/.openssl no-shared no-threads  \
&& make \
&& make install_sw LIBDIR=lib
make[2]: Entering directory '/opt/nginx-1.26.2'
rm -rf Makefile objs
make[2]: Leaving directory '/opt/nginx-1.26.2'
/bin/sh: line 3: ./config: No such file or directory
make[1]: *** [objs/Makefile:1641: /opt/nginx-1.26.2/.openssl/include/openssl/ssl.h] Error 127
make[1]: Leaving directory '/opt/nginx-1.26.2'
make: *** [Makefile:10: build] Error 2
bash-5.1# ./config
bash: ./config: No such file or directory

备注:内容来源于stack exchange,提问作者Kasumi

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.15 15:05:29