Matthew Gregan wrote:
At 2004-12-30T10:04:57+1300, Robert Himmelmann wrote:
java.lang.UnsatisfiedLinkError: /home/robert/Documents/Programme/eclipse/eclipse/plugins/org.eclipse.swt.gtk_3.1.0/os/linux/x86/libswt-pi-gtk-3111.so: /home/robert/Documents/Programme/eclipse/eclipse/plugins/org.eclipse.swt.gtk_3.1.0/os/linux/x86/libswt-pi-gtk-3111.so: cannot open shared object file: No such file or directory
First, make sure this shared library exists and you have appropriate access to it. If it exists, examine the libraries dependencies using ldd(1) and make sure the libraries it depends on exist and have appropriate permissions. It may be that you need to set up the LD_LIBRARY_PATH variable (or /etc/ld.so.conf) correctly before you can run Eclipse. You might be able to get more information about the problem if you launch Eclipse with debugging enabled (-debug, I think).
Cheers,
-mjg
The libary exists and I have all rights for it (same problem as root)
ldd /home/robert/Documents/Programme/eclipse/eclipse/plugins/org.eclipse.swt.gtk_3.1.0/os/linux/x86/libswt-pi-gtk-3111.so gives this output:
linux-gate.so.1 => (0xffffe000)
libgtk-x11-2.0.so.0 => /opt/gnome/lib/libgtk-x11-2.0.so.0 (0x555b5000)
libgthread-2.0.so.0 => /opt/gnome/lib/libgthread-2.0.so.0 (0x5587c000)
libXtst.so.6 => /usr/X11R6/lib/libXtst.so.6 (0x55880000)
libc.so.6 => /lib/tls/libc.so.6 (0x55886000)
libgdk_pixbuf-2.0.so.0 => /opt/gnome/lib/libgdk_pixbuf-2.0.so.0 (0x5599c000)
libgdk-x11-2.0.so.0 => /opt/gnome/lib/libgdk-x11-2.0.so.0 (0x559b1000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x55a20000)
libpangoxft-1.0.so.0 => /opt/gnome/lib/libpangoxft-1.0.so.0 (0x55b1d000)
libpangox-1.0.so.0 => /opt/gnome/lib/libpangox-1.0.so.0 (0x55b22000)
libpango-1.0.so.0 => /opt/gnome/lib/libpango-1.0.so.0 (0x55b2d000)
libatk-1.0.so.0 => /opt/gnome/lib/libatk-1.0.so.0 (0x55b61000)
libgobject-2.0.so.0 => /opt/gnome/lib/libgobject-2.0.so.0 (0x55b7c000)
libgmodule-2.0.so.0 => /opt/gnome/lib/libgmodule-2.0.so.0 (0x55bb6000)
libdl.so.2 => /lib/libdl.so.2 (0x55bbb000)
libglib-2.0.so.0 => /opt/gnome/lib/libglib-2.0.so.0 (0x55bbf000)
libm.so.6 => /lib/tls/libm.so.6 (0x55c3e000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x55c61000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x55c73000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x56555000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x55c82000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x55c86000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x55c8e000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x55ca1000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x55d10000)
libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x55d3a000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x55d44000)
libpangoft2-1.0.so.0 => /opt/gnome/lib/libpangoft2-1.0.so.0 (0x55d4c000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x55d71000)
/etc/ld.so.conf looks like this:
/usr/X11R6/lib64/Xaw95 /usr/X11R6/lib64/Xaw3d /usr/X11R6/lib64 /usr/X11R6/lib/Xaw95 /usr/X11R6/lib/Xaw3d /usr/X11R6/lib /usr/x86_64-suse-linux/lib64 /usr/x86_64-suse-linux/lib /usr/local/lib /usr/openwin/lib /opt/kde/lib /opt/kde2/lib /opt/kde3/lib /opt/gnome/lib /opt/gnome2/lib /lib64 /lib /usr/lib64 /usr/lib /usr/local/lib64 /usr/openwin/lib64 /opt/kde/lib64 /opt/kde2/lib64 /opt/kde3/lib64 /opt/gnome/lib64 /opt/gnome2/lib64 include /etc/ld.so.conf.d/*.conf
There are no files in "/etc/ld.so.conf.d/". I suppose that is also okay. The debugging output shows nothing intresting.
Happy Hacking
+-------------------------------------------------------+ |If you don't know what 'Happy Hacking' means, read | |the book 'Free as in Freedom', published under | |http://www.oreilly.com/openbook/freedom/index.html | +-------------------------------------------------------+ |Use free software only. See | |http://www.gnu.org/philosophy/free-sw.html | +-------------------------------------------------------+ |Please avoid sending me Microsoft Word attachments. | |For more information, see: | |http://www.fsf.org/philosophy/no-word-attachments.html | +-------------------------------------------------------+
