nginx编译出错:make[1]: *** [/usr/local/ssl/.openssl/include/openssl/ssl.h] Error 1

源码编译
1823
linux
linux 举报
2022-09-08

[root@ecs-395603 nginx-1.22.0]# make

make -f objs/Makefile

make[1]: Entering directory '/usr/local/src/nginx-1.22.0'

cd ../openssl-1.1.1q \

&& if [ -f Makefile ]; then make clean; fi \

&& ./config --prefix=/usr/local/src/nginx-1.22.0/../openssl-1.1.1q/.openssl no-shared no-threads  \

&& make \

&& make install_sw LIBDIR=lib

Operating system: x86_64-whatever-linux2

You need Perl 5.

make[1]: *** [objs/Makefile:1258: ../openssl-1.1.1q/.openssl/include/openssl/ssl.h] Error 1

make[1]: Leaving directory '/usr/local/src/nginx-1.22.0'

make: *** [Makefile:10: build] Error 2

[root@ecs-395603 nginx-1.22.0]# 


倒序看帖 只看楼主
热点关注
/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
服务停止、启动、重启一体化脚本,万能语言启动脚本
shell参数判断
在后台用进程名运行bash脚本
shell脚本每行后面多了一个^M的原因和解决办法
定时检测服务,检测down掉后重启。系统检测到DMSERVER运行正常
挂载磁盘的时候遇到一个问题,挂载完磁盘之后重启服务器挂载的盘丢失了.
中标麒麟系统Your trial is EXPIRED and no VALID licens
termux 开启ssh并用用户名和密码登陆
组成共享库的目标文件和一般的目标文件有所不同,在编译时要加-fPIC和-share选项,例如:
gcc指定链接库路径后还是找不到库文件
./configure -build,-host,-target设置
shell脚本每行后面多了一个^M的原因和解决办法
shell 中 if [ “x${var}“ == “x“ ] 中 x的作用
查看linux机器是32位还是64位的方法