3

Ubuntu 12.1 マシンでテスト プロジェクトを作成しようとすると、次のようになります。

adb install bin/opine_test-debug.apk
adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

そこで、lib64ncurses をインストールします (実際に 64 ビット OS を実行しています)。

sudo apt-get install lib64ncurses5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 lib64ncurses5:i386 : Depends: lib64tinfo5:i386 (= 5.9-10ubuntu1) but it is not going to be installed
                      Depends: libc6-amd64:i386 (>= 2.14) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

そして、問題のあるパッケージはlibc-amd64次のとおりです。

sudo apt-get install libc6-amd64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6 : Conflicts: libc6-amd64:i386 but 2.15-0ubuntu20.1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

私は公式に困惑しています。これはどのような問題ですか?

4

2 に答える 2

10

試す:

sudo apt-get install lib32ncurses5 lib32stdc++6

于 2013-05-25T19:44:11.873 に答える
1
*sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386

エミュレーターを実行するには、追加のパッケージが必要です。

*sudo apt-get install libsdl1.2debian:i386

次に、ia32-libs をインストールします。

*apt-get install ia32-libs
于 2014-03-10T03:49:20.937 に答える