Eclipse will not start on SunOS. libgtk-x11-2.0.so.0: open failed: No such file or directory [message #1591944] |
Thu, 29 January 2015 15:58  |
Eclipse User |
|
|
|
I was able to run Eclipse (slowly) on a SunOS server a couple years ago. Now that I need to do that again, I find that I cannot launch Eclipse. I get an error with a missing library file:
libgtk-x11-2.0.so.0
HERE IS MY LAUNCH COMMAND FOR ECLIPSE:
nohup $HOME/eclipse/eclipse -vm /home/rp3138/java/jdk1.6.0_04/bin/java &
Here is my latest error file:
DEV-TEST: </home/rp3138 [1165]>
rp3138@fstst05: cat /home/rp3138/eclipse/configuration/1422563459114.log
!SESSION 2015-01-29 12:30:58.109 -----------------------------------------------
eclipse.buildId=M20130131-0800
java.version=1.6.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=solaris, ARCH=sparc, WS=gtk, NL=en
Command-line arguments: -os solaris -ws gtk -arch sparc
!ENTRY org.eclipse.osgi 4 0 2015-01-29 12:31:04.010
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/home/rp3138/eclipse/configuration/org.eclipse.osgi/bundles/167/1/.cp/libswt-pi-gtk-3836.so: ld.so.1: java: fatal: libgtk-x11-2.0.so.0: open failed: No such file or directory
no swt-pi-gtk in java.library.path
/home/rp3138/.swt/lib/solaris/sparc/libswt-pi-gtk-3836.so: ld.so.1: java: fatal: libgtk-x11-2.0.so.0: open failed: No such file or directory
/home/rp3138/.swt/lib/solaris/sparc/libswt-pi-gtk-3836.so: ld.so.1: java: fatal: libgtk-x11-2.0.so.0: open failed: No such file or directory
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:331)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:133)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:695)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Here is my server information:
DEV-TEST: </home/rp3138 [1162]>
rp3138@fstst05: uname -a
SunOS fstst05 5.10 Generic_150400-11 sun4u sparc SUNW,Sun-Fire-V890
I assume I need a copy of libgtk-x11-2.0.so.0. If so, where do I get it? Where would I place it?
Any pointers would be appreciated.
Steve Price
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.20002 seconds