完美解决common_define.h: No such file or directory

简介: 完美解决common_define.h: No such file or directory

在使用make命令配置,并加载fastdfs-nginx-module模块时可能会出现下方错误,造成该错误主要由于缺少依赖。

ad55483fb4f649f79b18e9e64ea82cdb.png

解决方案

  • 打开 fastdfs-nginx-module-1.20/src/config 配置文件
vim fastdfs-nginx-module-1.20/src/config



211c221d263d4325a4d6f35b99d7fe3c.png


修改以下两处并保存

ngx_module_incs="/usr/include/fastdfs /usr/include/fastcommon/"
CORE_INCS="$CORE_INCS /usr/include/fastdfs /usr/include/fastcommon/"

ae108cc035524f5f885a2b7c1e5fbae2.png

重新make并测试

e6c1c77cfe0847d3879c7803a352f005.png

发现我们问题已经成功解决了!


相关文章
|
机器学习/深度学习 Linux
解决ImportError libgmpxx.so.4 cannot open shared object file No such file or directory
解决ImportError libgmpxx.so.4 cannot open shared object file No such file or directory
232 0
解决ImportError libgmpxx.so.4 cannot open shared object file No such file or directory
libfreetype.so.6: cannot open shared object file: No such file or directory
libfreetype.so.6: cannot open shared object file: No such file or directory
582 0
|
8月前
|
缓存 Ubuntu Linux
error while loading shared libraries: libxcb-icccm.so.4: cannot open shared object file: No such file or directory 问题如何处理
【5月更文挑战第16天】error while loading shared libraries: libxcb-icccm.so.4: cannot open shared object file: No such file or directory 问题如何处理
1071 0
|
8月前
|
Java
cannot open shared object file: No such file or directory
cannot open shared object file: No such file or directory
96 0
ftok info: No such file or directory
ftok info: No such file or directory
242 0
|
JavaScript
The file is in the program because: Imported via xxx Root file specified for compilation Vetur(1261)
The file is in the program because: Imported via xxx Root file specified for compilation Vetur(1261)
207 0
The file is in the program because: Imported via xxx Root file specified for compilation Vetur(1261)
|
并行计算 TensorFlow 算法框架/工具
ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory
ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory
328 0
configure: error: Can‘t find ext2fs library
configure: error: Can‘t find ext2fs library
248 0
ibavformat.so.57: cannot open shared object file: No such file or directory
ibavformat.so.57: cannot open shared object file: No such file or directory
164 0
error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
111 0

热门文章

最新文章

下一篇
开通oss服务