A fresh install of dev-util/eclipse-sdk-3.4-r2 fails to start with the following error: !SESSION 2008-12-30 00:21:49.178 ----------------------------------------------- eclipse.buildId=I20080617-2000 java.version=1.5.0_17 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY org.eclipse.osgi 4 0 2008-12-30 00:21:56.294 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: no swt-gtk-3448 or swt-gtk in swt.library.path, java.library.path or the jar file at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source) at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source) at org.eclipse.swt.internal.C.<clinit>(Unknown Source) at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source) at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source) at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:509) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:143) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) 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:382) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212) However, swt-gtk-3448 library is present: # ls -l /usr/lib64/libswt-gtk-3448.so -rwxr-xr-x 1 root root 281440 2008-12-29 23:54 /usr/lib64/libswt-gtk-3448.so
Created attachment 176835 [details] emerge --info
Adding swt.library.path=/usr/lib64/ to /usr/lib64/eclipse-3.4/configuration/config.ini solves the problem.
(In reply to comment #2) > Adding > > swt.library.path=/usr/lib64/ > > to /usr/lib64/eclipse-3.4/configuration/config.ini solves the problem. > Works for me using eclipse and Java6. Only change is I used /usr/lib/ instead of /use/lib64, but otherwise the same thing.
This can most likely be marked RESOLVED INVALID. Only way I could reproduce that was that /usr/lib was not pointing to /usr/lib64. Next to that eclipse 3.5 is stable on AMD64.
Please reopen if it's still not fixed.