Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] glibc 2.5 and eclipse 4.3

----- Original Message -----
> From: "Chonduy Nguyen" <chonduy9@xxxxxxxxx>
> To: cdt-dev@xxxxxxxxxxx
> Sent: Thursday, April 10, 2014 2:36:05 AM
> Subject: [cdt-dev] glibc 2.5 and eclipse 4.3
> 
> Hello
> Is that a new requirement on eclipse 4.3 for glibc version
> as I don't run into the below error on eclipse 4.2?

SWT Linux binary builds from Eclipse.org are build as follows:
* 4.2 - against GTK 2.2 on RHEL 4
* 4.3 - against GTK 2.6 on RHEL 5
* 4.4 - against GTK 2.10 on RHEL 6 

I guess that moving the builders from RHEL 4 to RHEL 5 is what introduced this change. As the resources of the SWT team are even more constrained than saying "limited" everything but GTK version is taken as is from the build machine while we build on oldest but still supported RHEL version. The build scripts evolved a lot lately so people can do their own builds really easily nowadays if they want to try old glibc and newer gtk on some system.

Alexander Kurtakov
Red Hat Eclipse team

> java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
> /remote/us01home26/thuymain/.eclipse/org.eclipse.platform_4.3.0_254768982_linux_gtk_x86/configuration/org.eclipse.osgi/bundles/201/1/.cp/libswt-gtk-4333.so:
> /remote/us01home26/thuymain/.eclipse/org.eclipse.platform_4.3.0_254768982_linux_gtk_x86/configuration/org.eclipse.osgi/bundles/201/1/.cp/libswt-gtk-4333.so:
> requires glibc 2.5 or later dynamic linker
> no swt-gtk in java.library.path
> /remote/us01home26/thuymain/.swt/lib/linux/x86/libswt-gtk-4333.so:
> /remote/us01home26/thuymain/.swt/lib/linux/x86/libswt-gtk-4333.so: requires
> glibc 2.5 or later dynamic linker
> Can't load library:
> /remote/us01home26/thuymain/.swt/lib/linux/x86/libswt-gtk.so
> 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.C.<clinit>(C.java:21)
> 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:675)
> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
> 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:354)
> Thanks
> CD
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 


Back to the top