Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253092 - dev-util/eclipse-sdk-3.4-r2 fails to start
Summary: dev-util/eclipse-sdk-3.4-r2 fails to start
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-30 05:28 UTC by a_tevelev
Modified: 2011-04-02 16:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,3.68 KB, text/plain)
2008-12-30 05:29 UTC, a_tevelev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description a_tevelev 2008-12-30 05:28:38 UTC
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
Comment 1 a_tevelev 2008-12-30 05:29:54 UTC
Created attachment 176835 [details]
emerge --info
Comment 2 a_tevelev 2008-12-30 05:35:44 UTC
Adding

  swt.library.path=/usr/lib64/

to /usr/lib64/eclipse-3.4/configuration/config.ini solves the problem.
Comment 3 Jay 2009-07-05 19:48:07 UTC
(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.
Comment 4 Christoph Brill (egore) (RESIGNED) 2011-04-01 13:03:21 UTC
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.
Comment 5 Serkan Kaba (RETIRED) gentoo-dev 2011-04-02 16:57:58 UTC
Please reopen if it's still not fixed.