Filezilla 根本无法启动

Filezilla 根本无法启动

我在一台运行 Sandybridge i5 和 4 GB 内存的旧机器上使用 Ubuntu 18.04.01 LTS。更新后(我还没有为 filezilla 运行任何更新),该程序就停止工作了。

我按照这个帖子中的所有步骤尝试恢复,但没有任何效果

无法运行 filezilla

我完全删除并清除了 filezilla,然后从 Ubuntu 软件库安装了最新版本(版本 3.28),并从终端启动了 filezilla。(请参阅所附图片以了解错误)

重新启动 filezilla 时出错

$ filezilla
filezilla:符号查找错误:filezilla:未定义符号:_ZN2fz6buffer3addEm

任何帮助和指导都将不胜感激。提前致谢。

其他命令的输出如下:

$ filezilla
/usr/bin/filezilla

$ ldd $(哪个 filezilla)
linux-vdso.so.1 (0x00007ffea5d9a000)
libfilezilla.so.0 => /usr/local/lib/libfilezilla.so.0 (0x00007fc834bab000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc83498c000)
libpugixml.so.1 => /usr/lib/x86_64-linux-gnu/libpugixml.so.1 (0x00007fc834755000)
libnettle.so.6 => /usr/lib/x86_64-linux-gnu/libnettle.so.6 (0x00007fc83451f000)
libhogweed.so.4 => /usr/lib/x86_64-linux-gnu/libhogweed.so.4 (0x00007fc8342eb000)
libgnutls.so.30 => /usr/lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007fc833f86000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007fc833d39000) libwx_gtk2u_aui-3.0.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_aui-3.0.so.0 (0x00007fc833aa6000)
libwx_gtk2u_xrc-3.0.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_xrc-3.0.so.0 (0x00007fc8337b1000)
libwx_gtk2u_adv-3.0.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0 (0x00007fc8333d9000) libwx_gtk2u_core-3.0.so.0 =>
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0 (0x00007fc832ba7000)
libwx_baseu-3.0.so.0 => /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0 (0x00007fc832718000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007fc83240f000)
libgdk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 (0x00007fc83215a000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fc831f06000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc831b78000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc831960000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc83156f000)
/lib64/ld-linux-x86-64.so.2 (0x00007fc835568000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc8311d1000)
libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007fc830f50000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc830d33000)
libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007fc830a04000)
libidn2.so.0 => /usr/lib/x86_64-linux-gnu/libidn2.so.0 (0x00007fc8307e7000)
libunistring.so.2 => /usr/lib/x86_64-linux-gnu/libunistring.so.2 (0x00007fc830469000)
libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007fc830256000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007fc82ffd2000)
libgtk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (0x00007fc82f990000)
libwx_gtk2u_html-3.0.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-3.0.so.0(0x00007fc82f6bd000)
libwx_baseu_xml-3.0.so.0 => /usr/lib/x86_64-linux-gnu/libwx_baseu_xml-3.0.so.0 (0x00007fc82f4ad000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007fc82f289000)
libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007fc82f03c000)>>
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fc82e9ee000)
libnotify.so.4 => /usr/lib/x86_64-linux-gnu/libnotify.so.4 (0x00007fc82e7e6000)
libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007fc82e5d9000)
libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007fc82e2bc000)
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fc82e0b6000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007fc82deae000)
libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007fc82dc7c000)
libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007fc82da14000)
libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007fc82d79d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc82d599000)
libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007fc82d1fb000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fc82cfb6000) libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fc82cdac000)
libXinerama.so.1
=> /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007fc82cba9000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007fc82c999000)
libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007fc82c78e000)
libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007fc82c584000) libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1
(0x00007fc82c381000)
libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fc82c17e000)
libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fc82bf78000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fc82bd66000) libffi.so.6 =>
/usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007fc82bb5e000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fc82b956000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fc82b730000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fc82b514000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007fc82b1f9000)
libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0(0x00007fc82aff5000)
libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007fc82adcf000)
libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007fc82abb9000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fc82a987000)
libthai.so.0 => /usr/lib/x86_64-linux-gnu/libthai.so.0 (0x00007fc82a77e000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fc82a50c000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fc82a2e4000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fc82a030000)
libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007fc829d8b000)
libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007fc829b88000)
libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007fc82997b000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007fc829760000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fc829559000)
libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007fc82934b000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007fc829123000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fc828f08000)
libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007fc828cb4000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fc828a9f000)
libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007fc828801000)
libdatrie.so.1 => /usr/lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007fc8285fa000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fc8283f6000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fc8281f0000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fc827fdb000)
libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007fc827d8e000)
libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007fc827b61000)

$ apt-cache policy filezilla filezilla-common libfilezilla0
filezilla:
已安装:3.28.0-1
候选版本:3.28.0-1
版本表:
*** 3.28.0-1 500
500http://ubuntu.ipserverone.com/ubuntubionic/universe amd64 软件包
100 /var/lib/dpkg/status

filezilla-common:
已安装:3.28.0-1
候选版本:3.28.0-1
版本表:
*** 3.28.0-1 500
500http://ubuntu.ipserverone.com/ubuntubionic/universe amd64 软件包
500http://ubuntu.ipserverone.com/ubuntubionic/universe i386 软件包
100 /var/lib/dpkg/status

libfilezilla0:
已安装:0.11.0-1
候选版本:0.11.0-1
版本表:
*** 0.11.0-1 500
500http://ubuntu.ipserverone.com/ubuntubionic/universe amd64 软件包
100 /var/lib/dpkg/status

答案1

您的ldd输出中有一行奇怪的内容:

$ ldd $(which filezilla)
...
libfilezilla.so.0 => /usr/local/lib/libfilezilla.so.0 (0x00007fc834bab000)
...

(看来您之前已经从源代码安装了filezilla)。

但正确的是:

libfilezilla.so.0 => /usr/lib/x86_64-linux-gnu/libfilezilla.so.0

因此,要解决此问题,您应该手动删除有问题的库:

sudo rm /usr/local/lib/libfilezilla.so.0*

并从 deb-package 重新安装正确的版本:

sudo apt-get install --reinstall libfilezilla0

相关内容