Debian Wheezy 无法使用 LDOCE5

Debian Wheezy 无法使用 LDOCE5

我在Debian Wheezy 7.6 adm64上安装了LDOCE5(朗文当代英语词典5版),我是libc6通过以下方法安装的:

dpkg --add-architecture i386 # enable multi-arch
apt-get update
apt-get install libc6:i386 # install base 32bit libraries

然后我运行命令./ldoce5,返回以下错误:

./ldoce5-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

所以,我尝试了以下方法:

$ locate libgtk-x11-2.0.so.0
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.10

然后我构建了一个链接

$ sudo ln -s /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0  .

其次是:

$ ./ldoce5
./ldoce5-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64

ia32-libs-gtk-i386:i386我猜想,如果我成功安装了和,它可能会起作用ia32-libs-i386:i386,因为我已经在 Linuxmint Qiana 上成功尝试了这种方法。但是当我尝试安装这两个包时,结果却很麻烦,因为存在很多依赖问题:

$ sudo apt-get install ia32-libs-i386:i386 ia32-libs-gtk-i386:i386
The following packages have unmet dependencies:
 ia32-libs-gtk-i386:i386 : Depends: gtk2-engines-pixbuf:i386 (>= 2.20.1-2) but it is not going to be installed
                       Depends: gtk2-engines:i386 (>= 1:2.20.1-1) but it is not going to be installed
                       Depends: libcanberra-gtk-module:i386 (>= 0.24-1) but it is not going to be installed
                       Depends: libcanberra-gtk0:i386 (>= 0.24-1) but it is not going to be installed
                       Depends: libgail-common:i386 (>= 2.20.1-2) but it is not going to be installed
                       Depends: libgail18:i386 (>= 2.20.1-2) but it is not going to be installed
                       Depends: libgtk2.0-0:i386 (>= 2.20.1-2) but it is not going to be installed
                       Recommends: libbonobo2-0:i386 (>= 2.24.3-1) but it is not going to be installed
                       Recommends: libglade2-0:i386 (>= 1:2.6.4-1) but it is not going to be installed
                       Recommends: libgnomecanvas2-0:i386 (>= 2.30.1-1) but it is not going to be installed
                       Recommends: libidl0:i386 (>= 0.8.14-0.1) but it is not going to be installed
                       Recommends: liborbit2:i386 (>= 1:2.14.18-0.1) but it is not going to be installed
 ia32-libs-i386:i386 : Depends: libcups2:i386 (>= 1.4.4-7+squeeze1) but it is not going to be installed
                   Depends: libcurl3:i386 (>= 7.21.0-2) but it is not going to be installed
                   Depends: libgnutls26:i386 (>= 2.8.6-1) but it is not going to be installed
                   Depends: libpulse0:i386 (>= 0.9.21-3+squeeze1) but it is not going to be installed
                   Depends: libsdl1.2debian:i386 (>= 1.2.15) but it is not going to be installed
 libsmbclient : Depends: libtdb1 (>= 1.2.7+git20101214) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

如何让 LDOCE5 在 Wheezy 上正常工作?

答案1

如何:在 Ubuntu 64 位上安装 LDOCE5

在询问之前谷歌一下,Ubuntu 和 Debian 非常相似,我可以确定这会起作用。

相关内容