undefined reference to `fcntl64'
时间: 2023-08-17 13:14:32 浏览: 455
回答: 在编译过程中出现"undefined reference to `fcntl64'"的错误,可以尝试以下解决方法:找到xxxxxlibc.so的源码,在本地进行编译,将编译出来的xxxxxlibc.so动态库替换掉原来的,再重新执行编译命令,这样就可以解决"undefined reference to `fcntl64'"的问题。\[1\]
参考链接:
\[1\] unknown directive "ngx_fastdfs_module" 问题
\[2\] fastdfs-nginx-module安装和配置
\[3\] 【那些踩过的坑】搭建FastDFS文件服务器安装nginx问题(新手安装前一定要看!!!)
\[4\] fdfs安装
\[5\] Ubuntu18.04安装FastDFS和Nginx(这个是比较详细的博客)
\[6\] FastDFS 注意事项(一些排错的问题)
\[7\] FastDFS重启后上传文件报错的解决方案
\[8\] 安装fastdfs出现/usr/local/lib/libfastcommon.so: undefined reference to `fcntl64@GLIBC_2.28' \[3\]
#### 引用[.reference_title]
- *1* [对‘fcntl@GLIBC_2.28‘未定义的引用](https://blog.csdn.net/weixin_43793181/article/details/120502748)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [FastDFS安装笔记和使用](https://blog.csdn.net/appleyuchi/article/details/104224605)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文