2009年5月7日 星期四

[Ubuntu, GWT] Unable to load Mozilla for hosted mode

在Ubuntu上安裝Eclipse 及 Google Plugin for Eclipse 後,執行GWT程式會發生以下問題

** Unable to load Mozilla for hosted mode **
java.lang.UnsatisfiedLinkError: /plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/mozilla-1.7.12/libxpcom.so: libstdc++.so.5: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
以下省略

主要原因就在沒有安裝 libstdc++5(Ubuntu預設只安裝libstdc++6),
所以只要利用Synaptic套件管理程式安裝libstdc++5即可解決此問題。


沒有留言:

張貼留言