Comments (6)
我也遇到这个问题,头疼中
from fastdfs-nginx-module.
看了别人的提问。发现,原来是版本问题。需要安装最新的fastdfs-5.11版本。。
from fastdfs-nginx-module.
我也遇到同样的问题,nginx-1.10.0, fastdfs-5.11, fastdfs-nginx-module-master是最新的,还有同样的问题,求解
from fastdfs-nginx-module.
嗯,找到问题了,是自己版本没搞对。现在是5.12版本了
from fastdfs-nginx-module.
objs/addon/src/ngx_http_fastdfs_module.o
objs/ngx_modules.o
-L/data/tools/ngx_openresty-1.9.7.2/build/luajit-root/usr/local/openresty/luajit/lib -Wl,-rpath,/usr/local/openresty/luajit/lib -Wl,-E -lpthread -lcrypt -L/usr/local/lib -ldrizzle -L/data/tools/ngx_openresty-1.9.7.2/build/luajit-root/usr/local/openresty/luajit/lib -lluajit-5.1 -lm -ldl -L/usr/local/lib -lfastcommon -lfdfsclient -lpcre -lssl -lcrypto -ldl -lz
objs/addon/src/ngx_http_fastdfs_module.o: In function fdfs_mod_init': /data/tools/ngx_openresty-1.9.7.2/../fastdfs-nginx-module/src/common.c:148: undefined reference to
log_init'
/data/tools/ngx_openresty-1.9.7.2/../fastdfs-nginx-module/src/common.c:324: undefined reference to load_local_host_ip_addrs' /data/tools/ngx_openresty-1.9.7.2/../fastdfs-nginx-module/src/common.c:347: undefined reference to
g_local_host_ip_count'
/data/tools/ngx_openresty-1.9.7.2/../fastdfs-nginx-module/src/common.c:347: undefined reference to g_if_alias_prefix' /data/tools/ngx_openresty-1.9.7.2/../fastdfs-nginx-module/src/common.c:272: undefined reference to
g_if_alias_prefix'
/data/tools/ngx_openresty-1.9.7.2/../fastdfs-nginx-module/src/common.c:268: undefined reference to g_if_alias_prefix' objs/addon/src/ngx_http_fastdfs_module.o: In function
fdfs_http_request_handler':
/data/tools/ngx_openresty-1.9.7.2/../fastdfs-nginx-module/src/common.c:839: undefined reference to is_local_host_ip' /usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libfdfsclient.so: undefined reference to
conn_pool_close_connection_ex'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libfdfsclient.so: undefined reference to conn_pool_get_connection' /usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libfdfsclient.so: undefined reference to
my_md5_buffer'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libfdfsclient.so: undefined reference to fc_safe_read' /usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libfdfsclient.so: undefined reference to
conn_pool_destroy'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libfdfsclient.so: undefined reference to conn_pool_connect_server' /usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libfdfsclient.so: undefined reference to
connectserverbyip_nb_ex'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libfdfsclient.so: undefined reference to conn_pool_disconnect_server' /usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libfdfsclient.so: undefined reference to
conn_pool_init'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libfdfsclient.so: undefined reference to `log_set_rotate_time_format'
master 分支的代码和1.16的都试过,同样的错误。
1.16 的config 配置为 /usr/include/fastdfs 和 fastcommon ,master的代码是一样的没改, 编译就是报错, 提示的函数名我在/usr/include/和相应的fastdfs,fastcommon 里的头文件里都能搜到
from fastdfs-nginx-module.
不是什么版本问题
进入 nginx-1.10.1文件夹(版本不一样文件夹就不一样) ,会有一个configure文件 执行./configure 然后在 make make install
from fastdfs-nginx-module.
Related Issues (20)
- arm64编译报错 HOT 2
- nginx加载fastdfs-nginx-module模块make时出现一大堆错误 HOT 2
- 无法反向代理到资源所在的storage,获取不到storage服务器的ip
- 访问400 Bad request
- 上传图片成功,下载图片报400,访问的nginx日志里一直报 the format of filename "group1/M00/0.png" is invalid的错 HOT 2
- /fastdfs-nginx-module/src//common.c: In function 'fdfs_mod_init' HOT 3
- nginx编译时添加dastdfs-nginx-module后启动只有master进程没有worker进程,而且无法访问web服务 HOT 7
- Comile error with fastdfs-nginx-module-1.20
- 关于请求本地服务器不存在的图片时自动请求源服务器的实现 HOT 2
- 有没有交流群啊,想加一个交流群
- The install nginx error! HOT 3
- alpine3.13编译报错 HOT 1
- 配置好nginx后,重新加载nginx,正常打印fastdfs nginx的pid,但日志有报错 HOT 1
- nginx 编译通过后运行提示以下报错 HOT 3
- (能必现的问题)配置了 fastdfs-nginx-module,第一次请求能获取文件,第二次获取文件会卡 HOT 2
- open() "00/00/XXXX.jpeg/data/null" failed no such file or directory HOT 1
- 关于make失败的问题 HOT 1
- ubuntu编译失败,很恼火 HOT 3
- 关于make 失败问题 HOT 2
- 欧拉 2203 鲲鹏920CPU 安装nginx-module make 报错 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastdfs-nginx-module.