Cannot run KitchenSink

0 views
Skip to first unread message

Timothy.R....@googlemail.com

unread,
Jul 25, 2006, 7:11:34 PM7/25/06
to Google Web Toolkit
Hello all,

Apologies if this is the incorrect usage of this forum, but, I could
not start the KitchenSink app! I "googled" to get more information but
could find little, so I am posting here now I solved it just incase
anyone else has the same issue. It is not too difficult...

There error I got was :

ERROR] The browser widget class could not be instantiated
org.eclipse.swt.SWTError: No more handles
(java.lang.UnsatisfiedLinkError:
/home/temple/development/frameworks/gwt-linux-1.0.21/mozilla-1.7.12/libxpcom.so:
libstdc++.so.5: cannot open shared object file: No such file or
directory)
at org.eclipse.swt.SWT.error(SWT.java:2968)
at org.eclipse.swt.SWT.error(SWT.java:2865)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:164)
at
com.google.gwt.dev.shell.BrowserWidget.<init>(BrowserWidget.java:217)
at
com.google.gwt.dev.shell.moz.BrowserWidgetMoz.<init>(BrowserWidgetMoz.java:97)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at
com.google.gwt.dev.shell.PlatformSpecific.createBrowserWidget(PlatformSpecific.java:34)
at com.google.gwt.dev.GWTShell.openNewBrowserWindow(GWTShell.java:365)
Caused by: java.lang.UnsatisfiedLinkError:
/home/temple/development/frameworks/gwt-linux-1.0.21/mozilla-1.7.12/libxpcom.so:
libstdc++.so.5: cannot open shared object file: No such file or
directory
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:967)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:160)
at
com.google.gwt.dev.shell.BrowserWidget.<init>(BrowserWidget.java:217)
at
com.google.gwt.dev.shell.moz.BrowserWidgetMoz.<init>(BrowserWidgetMoz.java:97)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)


Checking this dependency :

temple@musashi:~/development/frameworks/gwt-linux-1.0.21/mozilla-1.7.12$
ldd libxpcom.so
linux-gate.so.1 => (0xffffe000)
libplds4.so => /usr/lib/libplds4.so (0xb7f2a000)
libplc4.so => /usr/lib/libplc4.so (0xb7f25000)
libnspr4.so => /usr/lib/libnspr4.so (0xb7ef1000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7edf000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7edb000)
libstdc++.so.5 => not found
libm.so.6 => /lib/tls/libm.so.6 (0xb7eb4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7ea9000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7d71000)
/lib/ld-linux.so.2 (0x80000000)

Looking in /usr/lib :

temple@musashi:/usr/lib$ ls libstdc++.so.*
libstdc++.so.6 libstdc++.so.6.0.8

So my box was too current for this distribution of gwt. "apt-get
install libstdc++5" rectifies this under debian.

Again apologies if this was inappropriate, but, this toolkit looks
interesting so it is important for people to get it up and running
fast.

Thanks for you time,

Temple

kamana...@gmail.com

unread,
Jul 28, 2006, 2:39:43 PM7/28/06
to Google Web Toolkit
Hi Timothy.R.J.Langford,
I am using FC5. The same problem was here also.
[root@localhost mozilla-1.7.12]# ldd libxpcom.so
linux-gate.so.1 => (0x00c57000)
libplds4.so => /usr/lib/libplds4.so (0x00f1e000)
libplc4.so => /usr/lib/libplc4.so (0x00121000)
libnspr4.so => /usr/lib/libnspr4.so (0x00466000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00126000)
libdl.so.2 => /lib/libdl.so.2 (0x00f52000)
libstdc++.so.5 => not found
libm.so.6 => /lib/libm.so.6 (0x0013a000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0032f000)
libc.so.6 => /lib/libc.so.6 (0x0099a000)
/lib/ld-linux.so.2 (0x004e3000)

I installed a rpm (I found the rpm on fc5 disk 3, in directory
/media/cdrom/Fedora/RPMS,Note my cdrom is mounted on /media/cdrom ),
rpm -ihv compat-libstdc++-33-3.2.3-55.fc5.i386.rpm
Now it is working fine.

Reply all
Reply to author
Forward
0 new messages