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:i386
ia32-libs-i386:i386
Linuxmint Qianaはこのアプローチを成功させようとしたので、正常にインストールしてインストールすると機能できると思います。しかし、これら2つのパッケージをインストールしようとすると、依存関係の問題が多いため問題になることがわかりました。
$ 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は十分に似ているので、これがうまくいくと確信しています。