GithubHelp home page GithubHelp logo

Comments (6)

HappyFerry avatar HappyFerry commented on June 18, 2024

我也遇到这个问题,头疼中

from fastdfs-nginx-module.

HappyFerry avatar HappyFerry commented on June 18, 2024

看了别人的提问。发现,原来是版本问题。需要安装最新的fastdfs-5.11版本。。

from fastdfs-nginx-module.

wyz88901 avatar wyz88901 commented on June 18, 2024

我也遇到同样的问题,nginx-1.10.0, fastdfs-5.11, fastdfs-nginx-module-master是最新的,还有同样的问题,求解

from fastdfs-nginx-module.

HappyFerry avatar HappyFerry commented on June 18, 2024

嗯,找到问题了,是自己版本没搞对。现在是5.12版本了

from fastdfs-nginx-module.

deadpig8 avatar deadpig8 commented on June 18, 2024

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.

haoxiaoyong1014 avatar haoxiaoyong1014 commented on June 18, 2024

不是什么版本问题
进入 nginx-1.10.1文件夹(版本不一样文件夹就不一样) ,会有一个configure文件 执行./configure 然后在 make make install

from fastdfs-nginx-module.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.