Date: Wed, 20 Oct 2004 10:18:43 +1300 From: Drew Broadley <drew@corrupt.co.nz> Cc: java@freebsd.org Subject: [solved] Re: java/eclipse - GTK error, works fine when built WITH_MOTIF=yes Message-ID: <417584B3.9020203@corrupt.co.nz> In-Reply-To: <41757E49.9000603@corrupt.co.nz> References: <41757E49.9000603@corrupt.co.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
I wanted to try and fix this without symlinking, but it was a quick fix: Drew Broadley <drew@corrupt.co.nz> ------------ #!/bin/sh cd /usr/local/bin ln -s libgmodule-2.0.so libgmodule-2.0.so.200 ln -s libgmodule-2.0.so.400 libgmodule-2.0.so.200 ln -s libglib-2.0.so.400 libglib-2.0.so.200 ln -s libgthread-2.0.so.400 libgthread-2.0.so.200 ------------- This script fixed my problems and got eclipse working. - Drew Drew Broadley wrote: > When I built eclipse with GTK I get the following error, but with WITH_MOTIF=yes it runs perfectly > fine. > > I have tried the latest patched ports Makefile for 3.0.1 and receive the same problem, > > I am running FreeBSD 5.2.1-RELEASE p11, XFree86 4.4.0, Windowsmaker 0.80.1 > > - Drew > > Log entry as follows: > > ---------------------------------- > !SESSION Oct 20, 2004 09:45:13.240 --------------------------------------------- > eclipse.buildId=200409161125 > java.version=1.4.2-p6 > java.vendor=Sun Microsystems Inc. > BootLoader constants: OS=freebsd, ARCH=x86, WS=gtk, NL=en > > !ENTRY org.eclipse.osgi Oct 20, 2004 09:45:13.244 > !MESSAGE Application error > !STACK 1 > java.lang.UnsatisfiedLinkError: > /usr/local/eclipse/plugins/org.eclipse.swt.gtk_3.0.1/os/freebsd/x86/libswt-pi-gtk-3063.so: Shared > object "libgobject-2.0.so.200" not found > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1469) > at java.lang.Runtime.loadLibrary0(Runtime.java:788) > at java.lang.System.loadLibrary(System.java:834) > at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100) > 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:118) > at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:268) > at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:153) > at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:122) > at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:72) > at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) > at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) > at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) > 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:324) > at org.eclipse.core.launcher.Main.basicRun(Main.java:185) > at org.eclipse.core.launcher.Main.run(Main.java:704) > at org.eclipse.core.launcher.Main.main(Main.java:688) > ------------------------------------- > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?417584B3.9020203>