【发布时间】:2014-09-14 03:52:58
【问题描述】:
[root@maomao bin]# find /usr/local/lib -name libdbus-1.so.3
/usr/local/lib/libdbus-1.so.3
[root@maomao bin]# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/local/lib
[root@maomao bin]# ldconfig
[root@maomao bin]# filezilla
filezilla: error while loading shared libraries: libdbus-1.so.3: cannot open shared object file: No such file or directory
[root@maomao bin]# export LD_LIBRARY_PATH=/usr/local/lib
[root@maomao bin]# filezilla
filezilla: error while loading shared libraries: libdbus-1.so.3: wrong ELF class: ELFCLASS64
[root@maomao bin]# cp /usr/local/lib/libdbus-1.so.3 ./
[root@maomao bin]# export LD_LIBRARY_PATH=./
[root@maomao bin]# filezilla
filezilla: error while loading shared libraries: libdbus-1.so.3: wrong ELF class: ELFCLASS64
[root@maomao bin]# env | grep LD_LIBRARY_PATH
LD_LIBRARY_PATH=./
[root@maomao bin]# ls
filezilla fzputtygen fzsftp libdbus-1.so.3
[root@maomao bin]#
我确定我有“/usr/local/lib/libdbus-1.so.3”。但我仍然无法运行 filezilla。
【问题讨论】:
-
看来您在 64 位 centos 上安装了 32 位 filezilla(或者我猜是错误的 libdbus)。这就是问题所在。所以下一个问题是,你是如何安装 filezilla 的?您是从源代码构建它,使用 yum(或包管理器)还是直接从 Internet 下载二进制文件?
-
你能把这个命令的输出
file filezilla写进评论吗(这需要在你有filezilla的目录中完成)
标签: linux filezilla shared-libraries