2014-01-15 110 views
0

我已經安裝了Momentics IDE 2.0 for blackberry,但是有些地方不對。我使用Debian的64,當我嘗試運行它,我得到一個錯誤,指出:運行qde(黑莓手機的日食)

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-庫)種librairies的。我無法安裝它們,因爲我收到一條消息說:

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. 

我該如何解決這個問題?

+0

[this]的一些答案(http://stackoverflow.com/questions/10970754/cant-open-eclipse-in-ubuntu-12-04-java-lang-unsatisfiedlinkerror-could-not-l)問題包括這個。 –

回答

0

我不知道你怎麼到了那裏因爲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-庫: ywu @ ywu-HP-8100:/安裝$ sudo易於得到安裝lib32z1 lib32ncurses5 lib32bz2-1.0
  3. 修復缺少libgtk-x11-2.0.so.0: ywu @ ywu-HP-8100:/安裝$ sudo apt-get install libgtk2.0-0:i386
  4. 修復丟失的libXtst.so.6: ywu @ ywu-HP-8100:/ instal升$ sudo易於得到安裝libxtst6:I386
  5. 安裝Momentics的-2.0: ywu @ ywu-HP-8100:/安裝$ sudo的./momentics-2.0-201310251201-linux.gtk.x86.bin

祝你好運!