From owner-freebsd-java@FreeBSD.ORG Sun Mar 6 06:06:15 2005 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 0E48316A4CE for ; Sun, 6 Mar 2005 06:06:15 +0000 (GMT) Received: from drone1.qsi.net.nz (drone1-svc-skyt.qsi.net.nz [202.89.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1598743D49 for ; Sun, 6 Mar 2005 06:06:14 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: (qmail 28743 invoked by uid 0); 6 Mar 2005 06:06:12 -0000 Received: from unknown (HELO chen.org.nz) ([210.54.19.51]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 6 Mar 2005 06:06:12 -0000 Received: by chen.org.nz (Postfix, from userid 1000) id 7DFEC5643E; Sun, 6 Mar 2005 16:20:35 +1300 (NZDT) Date: Sun, 6 Mar 2005 16:20:35 +1300 From: Jonathan Chen To: kalin mintchev Message-ID: <20050306032035.GA29305@osiris.chen.org.nz> References: <58246.24.90.34.93.1110068341.squirrel@24.90.34.93> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <58246.24.90.34.93.1110068341.squirrel@24.90.34.93> User-Agent: Mutt/1.4.2.1i cc: freebsd-java@freebsd.org Subject: Re: eclipse 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: Sun, 06 Mar 2005 06:06:15 -0000 On Sat, Mar 05, 2005 at 07:19:01PM -0500, kalin mintchev wrote: > > hi all.. > > i sent this to the genereel bsd list but i haven't gotten any relys. maybe > here i'll have more luck... > > i'm trying to run the linux eclipse on a 5.3 release. i have all the java > set up. when i tried to run it i got: Not a good move. Linux binaries under FreeBSD are buggy, problematic at best. > /usr/local/eclipse/eclipse: error while loading shared libraries: > libgtk-x11-2.0.so.0: cannot open shared object file: No such file or > directory > > so i got the rpm for gtk2-2.4.13-2.1.src.rpm and installed using rpm. i > didn't get any errors with the rpm and now i have libgtk* under > /usr/X6R11/lib Looks like you trashed your FreeBSD binaries here. Linux binaries are generally installed /usr/compat/linux/* via the ports. You can't install Linux rpm's directly under FreeBSD. > it wasn't libgtk-x11-2.0.so.0 but libgtk-x11-2.0.so.400. so i lnked it like: > > #ln -s /usr/X11R6/lib/libgtk-x11-2.0.so.400 > /usr/X11R6/lib/libgtk-x11-2.0.so.0 > > i also tried linking it under /usr/compat/linux/usr/X11R6/lib. > > still nothing... > > where is eclipse looking for those libs? Here's a thought: Why don't you use the FreeBSD port for eclipse instead? -- Jonathan Chen ---------------------------------------------------------------------- "If you wish your merit to be known, acknowledge that of other people"