最近有成功编译nginx-dav-ext-module的吗?

119次阅读

共计 1364 个字符,预计需要花费 4 分钟才能阅读完成。

RT,按照教程在 nginx 编译的时候加上 nginx-dav-ext-module,但是一直失败,有没有大佬最近成功过?

  1. objs/addon/nginx-dav-ext-module/ngx_http_dav_ext_module.o
  2. objs/addon/nginx-dav-ext-module-3.0.0/ngx_http_dav_ext_module.o
  3. objs/ngx_modules.o
  4. -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/server/nginx/src/openssl/.openssl/lib/libssl.a /www/server/nginx/src/openssl/.openssl/lib/libcrypto.a -ldl -lpthread -lz -lxml2 -lxslt -lexslt -lgd
  5. -Wl,-E
  6. /usr/bin/ld: objs/addon/nginx-dav-ext-module-3.0.0/ngx_http_dav_ext_module.o:/root/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/server/nginx/src/nginx-dav-ext-module/ngx_http_dav_ext_module.c:186: first defined here
  7. collect2: error: ld returned 1 exit status
  8. make[1]: *** [objs/Makefile:380: objs/nginx] Error 1
  9. make[1]: Leaving directory ‘/www/server/nginx/src’
  10. make: *** [Makefile:11: install] Error 2
  11. ========================================================
  12. Debian GNU/Linux 11
  13. l
  14. Bit:64 Mem:221M Core:1 gcc:10.2.1 cmake:3.18.4
  15. Linux 5.10.0-14-amd64 x86_64
  16. ERROR: nginx-1.16.1 installation failed.

复制代码

网友回复:

注册 这个是干啥的。

爱国者捣蛋 贴出错误 帮你看看

菜单 这个编译一直没有问题,有可能是你服务器缺少了某个依赖导致编译失败,请贴出详细日志。你不把报错日志贴出来,神仙也帮不了你。

larry https://github.com/arut/nginx-dav-ext-module

你大爷 贴了,谢谢

Gim 贴了,谢谢

爱国者捣蛋 你用的宝塔吧. 重复定义 ngx_http_dav_ext_module 了, 宝塔现在默认带这个参数, 你又带了一次, 所以报错

正文完
 0