Debian Wheezy는 LDOCE5를 사용할 수 없습니다.

Debian Wheezy는 LDOCE5를 사용할 수 없습니다.

Debian Wheezy 7.6 adm64에 LDOCE5(Longman Dictionary of Contemporary English 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:i386ia32-libs-i386:i386Linuxmint 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.

Wheezy에서 LDOCE5가 제대로 작동하도록 하려면 어떻게 해야 합니까?

답변1

방법: Ubuntu 64비트에 LDOCE5 설치

물어보기 전에 Google에 검색해 보세요. Ubuntu와 Debian은 충분히 유사하므로 이것이 작동할 것이라고 확신합니다.

관련 정보