From owner-freebsd-java@FreeBSD.ORG Tue Oct 19 21:19:42 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB37D16A4CE for ; Tue, 19 Oct 2004 21:19:42 +0000 (GMT) Received: from mail.corrupt.co.nz (222-152-208-34.jetstream.xtra.co.nz [222.152.208.34]) by mx1.FreeBSD.org (Postfix) with SMTP id ABFC043D31 for ; Tue, 19 Oct 2004 21:19:41 +0000 (GMT) (envelope-from drew@corrupt.co.nz) Received: (qmail 80038 invoked by uid 1011); 19 Oct 2004 21:19:58 -0000 Received: from drew@corrupt.co.nz by tweety.lan.corrupt.co.nz by uid 1009 with qmail-scanner-1.22 Clear:RC:0(192.100.53.164):SA:0(-2.5/4.0):. Processed in 8.381934 secs); 19 Oct 2004 21:19:58 -0000 X-Spam-Status: No, hits=-2.5 required=4.0 Received: from 192.100.53.164.dts.net.nz (HELO ?192.168.63.102?) (drew@corrupt.co.nz@192.100.53.164) by mail.corrupt.co.nz with SMTP; 19 Oct 2004 21:19:49 -0000 Message-ID: <417584C6.5030701@corrupt.co.nz> Date: Wed, 20 Oct 2004 10:19:02 +1300 From: Drew Broadley User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <41757E49.9000603@corrupt.co.nz> In-Reply-To: <41757E49.9000603@corrupt.co.nz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit cc: ports@freebsd.org cc: java@freebsd.org Subject: [solved] Re: java/eclipse - GTK error, works fine when built WITH_MOTIF=yes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 21:19:42 -0000 I wanted to try and fix this without symlinking, but it was a quick fix: Drew Broadley ------------ #!/bin/sh cd /usr/local/bin 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.(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.(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" > >