eclipse build and run failures on 6-STABLE.

Jonathan Chen jonc at chen.org.nz
Sat Nov 5 17:24:11 PST 2005


Hi,

Recently recvsup'd port sources, and I noticed a couple of problems
on a system running 6-STABLE:

    1. eclipse will not build with cairo, due to the library version
       bump.

    2. Building eclipse without cairo, the executable fails with:

        eclipse.buildId=M20050929-0840
        java.version=1.5.0-p2
        java.vendor=Sun Microsystems Inc.
        BootLoader constants: OS=freebsd, ARCH=x86, WS=gtk, NL=en
        Command-line arguments:  -os freebsd -ws gtk -arch x86

        !ENTRY org.eclipse.osgi 2005-11-06 14:20:18.608
        !MESSAGE Application error
        !STACK 1
        java.lang.UnsatisfiedLinkError: /home/jonc/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/35/1/.cp/libswt-pi-gtk-3139.so: Shared object "libgthread-2.0.so.600" not found, required by "libswt-pi-gtk-3139.so"
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1660)
            at java.lang.Runtime.loadLibrary0(Runtime.java:822)
            at java.lang.System.loadLibrary(System.java:992)
            at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
            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.java:381)
            at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:155)
            at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:128)
            at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:79)
            at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
            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.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)

      The reference to "libgthread-2.0.so.600" is incorrect. I only
      have libgthread-2.0.so.0 and libgthread-2.0.so.

Cheers.
-- 
Jonathan Chen <jonc at chen.org.nz>
----------------------------------------------------------------------
                 When you don't know what you are doing, do it neatly.


More information about the freebsd-eclipse mailing list