fastdfs-nginx-module icon indicating copy to clipboard operation
fastdfs-nginx-module copied to clipboard

mac环境fastdfs-nginx-module模块编译报错

Open afterU opened this issue 5 years ago • 3 comments

objs/addon/src/ngx_http_fastdfs_module.o \
objs/ngx_modules.o \
-lfastcommon -lfdfsclient -lpcre -lz

ld: library not found for -lfdfsclient clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [objs/nginx] Error 1 make: *** [build] Error 2

afterU avatar Sep 22 '19 14:09 afterU

余大大,帮忙看看

afterU avatar Sep 23 '19 03:09 afterU

需要先安装 FastDFS client library。你看下源码目录下的 INSTALL文档。

happyfish100 avatar Sep 23 '19 03:09 happyfish100

谢谢,余大大,问题解决了,没有创建fdfsclient的软连接

afterU avatar Sep 23 '19 03:09 afterU