Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » libswt-pi-gtk-3138.so woes
libswt-pi-gtk-3138.so woes [message #103768] Thu, 22 September 2005 04:28 Go to next message
Eclipse User
Originally posted by: alberton.pocketrpn.com

eclipse dies at startup, complaining as follows:

!SESSION 2005-09-21 21:53:31.223
-----------------------------------------------
eclipse.buildId=I20050627-1435
java.version=1.4.2_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 2005-09-21 21:53:32.756
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: /opt/Eclipse/3.1.0/configuration/org.eclipse.osgi/bundles/61 /1/.cp/libswt-pi-gtk-3138.so: /opt/Eclipse/3.1.0/configuration/org.eclipse.osgi/bundles/61 /1/.cp/libswt-pi-gtk-3138.so:
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:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1495)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:12 3)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
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:122)
at
org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:381)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:155)
at
org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDE Application.java:128)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:79)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

this is my environment:
export JAVA_BINDIR=/opt/jdk/jdk1.5.0_05/bin
export JJAVA_HOME=/opt/jdk/jdk1.5.0_05/
export JJAVA_ROOT=/opt/jdk/jdk1.5.0_05/
export JJDK_HOME=/opt/jdk/jdk1.5.0_05/
export JJRE_HOME=/opt/jdk/jdk1.5.0_05/jre
export JPATH=$JAVA_BINDIR:$PATH

this is my JVM (however, behavior is identical with the 1.5.0_03 JVM):
$ $JAVA_BINDIR/java -version
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_05-b05, mixed mode)



this is other information that may be interesting:
$ldd libswt-pi-gtk-3138.so
libgtk-x11-2.0.so.0 => /opt/gnome/lib64/libgtk-x11-2.0.so.0
(0x0000002a956d7000)
libgthread-2.0.so.0 => /opt/gnome/lib64/libgthread-2.0.so.0
(0x0000002a95ac8000)
libXtst.so.6 => /usr/X11R6/lib64/libXtst.so.6 (0x0000002a95bcd000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95cd3000)
libgdk_pixbuf-2.0.so.0 => /opt/gnome/lib64/libgdk_pixbuf-2.0.so.0
(0x0000002a95ef5000)
libgdk-x11-2.0.so.0 => /opt/gnome/lib64/libgdk-x11-2.0.so.0
(0x0000002a9600c000)
libX11.so.6 => /usr/X11R6/lib64/libX11.so.6 (0x0000002a96189000)
libpangoxft-1.0.so.0 => /opt/gnome/lib64/libpangoxft-1.0.so.0
(0x0000002a96398000)
libpangox-1.0.so.0 => /opt/gnome/lib64/libpangox-1.0.so.0
(0x0000002a9649e000)
libpango-1.0.so.0 => /opt/gnome/lib64/libpango-1.0.so.0
(0x0000002a965aa000)
libatk-1.0.so.0 => /opt/gnome/lib64/libatk-1.0.so.0
(0x0000002a966e7000)
libgobject-2.0.so.0 => /opt/gnome/lib64/libgobject-2.0.so.0
(0x0000002a96807000)
libgmodule-2.0.so.0 => /opt/gnome/lib64/libgmodule-2.0.so.0
(0x0000002a96946000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000002a96a49000)
libglib-2.0.so.0 => /opt/gnome/lib64/libglib-2.0.so.0
(0x0000002a96b4d000)
libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a96cd3000)
libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000002a96e2a000)
libXext.so.6 => /usr/X11R6/lib64/libXext.so.6 (0x0000002a96f3f000)
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
(0x000000552aaaa000)
libXrandr.so.2 => /usr/X11R6/lib64/libXrandr.so.2
(0x0000002a97050000)
libXi.so.6 => /usr/X11R6/lib64/libXi.so.6 (0x0000002a97153000)
libXft.so.2 => /usr/X11R6/lib64/libXft.so.2 (0x0000002a9725c000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x0000002a97370000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1
(0x0000002a974ff000)
libXcursor.so.1 => /usr/X11R6/lib64/libXcursor.so.1
(0x0000002a97639000)
libXrender.so.1 => /usr/X11R6/lib64/libXrender.so.1
(0x0000002a97743000)
libpangoft2-1.0.so.0 => /opt/gnome/lib64/libpangoft2-1.0.so.
(0x0000002a9784c000)
libexpat.so.0 => /usr/lib64/libexpat.so.0 (0x0000002a97975000)

Distribution is SuSE 9.2 professional on AMD64 3200 socket 939 cpu.

Any ideas of what is wrong?

--
alberton at pocketrpn dot com
Re: libswt-pi-gtk-3138.so woes [message #105896 is a reply to message #103768] Thu, 29 September 2005 05:15 Go to previous message
Eclipse User
Originally posted by: bbiggs.ca.ibm.com

alberto wrote:
> eclipse dies at startup, complaining as follows:
>
> !SESSION 2005-09-21 21:53:31.223
> -----------------------------------------------
> eclipse.buildId=I20050627-1435
> java.version=1.4.2_06
> java.vendor=Sun Microsystems Inc.
> cannot open shared object file: No such file or directory

To run the x86-64 build of Eclipse, you need to use a 64-bit VM.

> export JAVA_BINDIR=/opt/jdk/jdk1.5.0_05/bin
> export JJAVA_HOME=/opt/jdk/jdk1.5.0_05/
> export JJAVA_ROOT=/opt/jdk/jdk1.5.0_05/
> export JJDK_HOME=/opt/jdk/jdk1.5.0_05/
> export JJRE_HOME=/opt/jdk/jdk1.5.0_05/jre
> export JPATH=$JAVA_BINDIR:$PATH
>
> this is my JVM (however, behavior is identical with the 1.5.0_03 JVM):
> $ $JAVA_BINDIR/java -version
> java version "1.5.0_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_05-b05, mixed mode)

You sure Eclipse was running using that? Try:

eclipse -vm $JAVA_BINDIR/java

-Billy
Previous Topic:Import/Export Projec
Next Topic:JVM crash on AMD64 when running eclipse 3.1
Goto Forum:
  


Current Time: Tue Sep 02 21:35:48 GMT 2014

Powered by FUDForum. Page generated in 0.01579 seconds