From owner-freebsd-java@FreeBSD.ORG Thu Jul 3 06:28:02 2003 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 80FB837B401 for ; Thu, 3 Jul 2003 06:28:02 -0700 (PDT) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9294D43F85 for ; Thu, 3 Jul 2003 06:28:01 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3p2/8.9.3) with ESMTP id HAA09009; Thu, 3 Jul 2003 07:27:59 -0600 (MDT) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.9/8.12.8) id h63DRxJ1032980; Thu, 3 Jul 2003 07:27:59 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16132.12127.47028.816054@emerger.yogotech.com> Date: Thu, 3 Jul 2003 07:27:59 -0600 To: shudo@computer.org In-Reply-To: <20030703.190531.299490113.shudo@localhost> References: <20030702.141346.607956687.shudo@localhost> <20030702142029.4fa5b862.daichi@freebsd.org> <20030703.190531.299490113.shudo@localhost> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid cc: freebsd-java@freebsd.org Subject: Re: JDK 1.1.8 V1999-11-9 on recent FBSD 4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nate Williams List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 13:28:02 -0000 > JDK 1.1.8 uses the native libm of FreeBSD 4 and the libc of the > compat3x port as follows: > > % ldd /usr/local/jdk1.1.8/bin/i386/green_threads/java > /usr/local/jdk1.1.8/bin/i386/green_threads/java: > libjava.so => not found (0x0) > libxpg4.so.2 => /usr/local/lib/compat/libxpg4.so.2 (0x28066000) ^^^^^ > libm.so.2 => /usr/lib/libm.so.2 (0x2806a000) > libc.so.3 => /usr/local/lib/compat/libc.so.3 (0x28085000) ^^^^^ Why are your compat libraries in /usr/local? They should be in /usr/lib/compat. > So, there are several workarounds: > - Add __stdinp, __stdoutp and __stderrp to the compat3x's libc. > - Compile JDK 1.1.8 on a recent FBSD system. > (The patches to Sun's 1.1.8 are available.) > - Provide a small library supplying these symbols and load it > with JDK 1.1.8 somehow. > - ... > > I prefer the modification to the compat3x port because this problem is > not limited to Java, rather general to programs which need compat3x. > > Does someone have motivation to solve this problem? > I suppose no one is not using 1.1.8 on recent FBSD systems because we > have not seen such an trouble report on this list. It works fine on my boxes, which are using the stock compat3 libraries. I suspect something with the above /usr/local/ libraries which are not the 'real' compat libraries as distributed as part of the base FreeBSD OS. Nate