注意:部分文章发布时间较长,可能存在未知因素,购买时建议在本站搜索商家名称,先充分了解商家动态。
交流:唯一投稿邮箱:hostvps@88.com。
网友 ***捣蛋 说:
*帖最后由 ***捣蛋 于 2022-6-4 01:30 编辑
RT,按照教程在nginx编译的时候加上nginx-dav-ext-module,但是一直失败,有没有大佬最近成功过?
objs/addon/nginx-dav-ext-module/ngx_http_dav_ext_module.o \
objs/addon/nginx-dav-ext-module-3.0.0/ngx_http_dav_ext_module.o \
objs/ngx_modules.o \
-L/usr/local/lib -ljemalloc -Wl,-E -ldl -lpthread -lcrypt -L/usr/local/lib -lluajit-5.1 -lm -ldl pcre-8.43/.libs/libpcre.a /www/******/nginx/src/open**l/.open**l/lib/lib**l.a /www/******/nginx/src/open**l/.open**l/lib/libcrypto.a -ldl -lpthread -lz -lxml2 -lxslt -lexslt -lgd \
-Wl,-E
/usr/bin/ld: objs/addon/nginx-dav-ext-module-3.0.0/ngx_http_dav_ext_module.o:/**ot/nginx-dav-ext-module-3.0.0/ngx_http_dav_ext_module.c:186: multiple definition of `ngx_http_dav_ext_module’; objs/addon/nginx-dav-ext-module/ngx_http_dav_ext_module.o:/www/******/nginx/src/nginx-dav-ext-module/ngx_http_dav_ext_module.c:186: first defined here
collect2: er**r: ld ret**ned 1 exit status
make[1]: *** [objs/Makefile:380: objs/nginx] Er**r 1
make[1]: Leaving directory ‘/www/******/nginx/src’
make: *** [Makefile:11: install] Er**r 2
========================================================
Debian **U/Linux 11
\l
Bit:** Mem:221M Core:1 gcc:10.2.1 cmake:3.18.4
Linux 5.10.0-14-amd** x86_**
ERROR: nginx-1.16.1 installation failed.
网友 菜单 说:
这个是干啥的。
网友 larry 说:
贴出错误 帮你看看
网友 *** 说:
这个编译一直没有问题,有可能是你***缺少了某个依赖导致编译失败,请贴出详细日志。
你不把报错日志贴出来,神仙也帮不了你。
网友 Gim 说:
https://github.com/arut/nginx-dav-ext-module
网友 ***捣蛋 说:
larry 发表于 2022-6-4 01:02
贴出错误 帮你看看
网友 ***捣蛋 说:
*** 发表于 2022-6-4 01:16
这个编译一直没有问题,有可能是你***缺少了某个依赖导致编译失败,请贴出详细日志。
你不把报错日志贴 …
网友 BWH 说:
你用的宝塔吧. 重复定义ngx_http_dav_ext_module了, 宝塔现在默认带这个参数, 你又带了一次,所以报错
贝壳主机网

