【问题标题】:running qde(eclipse for blackberry developpement)运行 qde(用于黑莓开发的 eclipse)
【发布时间】:2014-01-15 23:54:36
【问题描述】:

我已经为黑莓安装了 Momentics IDE 2.0,但是出了点问题。我正在使用 debian x64,当我尝试运行它时,我收到一条错误消息:

MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
     /home/User/bbndk/configuration/org.eclipse.osgi/bundles/361/1/.cp/libswt-pi-gtk-4236.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    no swt-pi-gtk in java.library.path
    /home/User/.swt/lib/linux/x86/libswt-pi-gtk-4236.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    Can't load library: /home/User/.swt/lib/linux/x86/libswt-pi-gtk.so

在黑莓页面上它说要安装(ia32-libs)类型的库。我无法安装它们,因为我收到一条消息:

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:
ia32-libs : Depends: ia32-libs-i386 but it is not installable
E: Unable to correct problems, you have held broken packages.

我该如何解决这个问题?

【问题讨论】:

  • this 问题的一些答案涵盖了这一点。

标签: eclipse blackberry-10 blackberry-eclipse-plugin momentics


【解决方案1】:

我不确定您是如何到达那里的,因为在我的情况下,由于 ia32-libs,我被阻止运行 java。 简而言之,这就是我在 ubuntu 13.10 x86_64 上安装 momentics-2.0 的方式。

  1. 将此行添加到 /etc/apt/sources.list 的底部(不确定是否仍需要此行): deb http://ca.archive.ubuntu.com/ubuntu稀有主宇宙
  2. 安装了这些库来替代 ia32-libs: ywu@ywu-HP-8100:/install$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
  3. 修复缺少的 libgtk-x11-2.0.so.0: ywu@ywu-HP-8100:/install$ sudo apt-get install libgtk2.0-0:i386
  4. 修复缺少的 libXtst.so.6: ywu@ywu-HP-8100:/install$ sudo apt-get install libxtst6:i386
  5. 安装momentics-2.0: ywu@ywu-HP-8100:/install$ sudo ./momentics-2.0-201310251201-linux.gtk.x86.bin

祝你好运!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-10-23
    相关资源
    最近更新 更多