From owner-freebsd-java@FreeBSD.ORG Tue Jul 8 08:13:27 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 0900E37B401 for ; Tue, 8 Jul 2003 08:13:27 -0700 (PDT) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05B0243FBD for ; Tue, 8 Jul 2003 08:13:26 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 19Zu9k-0007IW-04 for freebsd-java@freebsd.org; Tue, 08 Jul 2003 09:13:24 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 19Zu96-00078D-04; Tue, 08 Jul 2003 09:12:46 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h68FJFIa069828; Tue, 8 Jul 2003 09:19:18 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h68FJ4M7069827; Tue, 8 Jul 2003 09:19:04 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 8 Jul 2003 09:19:02 -0600 From: Greg Lewis To: Nate Williams Message-ID: <20030708151902.GA69738@misty.eyesbeyond.com> References: <20030702.141346.607956687.shudo@localhost> <20030702142029.4fa5b862.daichi@freebsd.org> <20030703.190531.299490113.shudo@localhost> <16132.12127.47028.816054@emerger.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16132.12127.47028.816054@emerger.yogotech.com> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.9 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) 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 List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 15:13:27 -0000 On Thu, Jul 03, 2003 at 07:27:59AM -0600, Nate Williams wrote: > 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. FWIW, my recent 4.x installs exhibit the same problem, but without the compat libraries being in /usr/local. E.g.: > 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/lib/compat/libxpg4.so.2 (0x28066000) libm.so.2 => /usr/lib/libm.so.2 (0x2806a000) libc.so.3 => /usr/lib/compat/libc.so.3 (0x28085000) > /usr/local/jdk1.1.8/bin/java -version /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderrp" The compat library is installed via the ports system: > pkg_info | grep compat3x compat3x-i386-4.4.20020925 A convenience package to install the compat3x libraries I think Shudo-san's analysis of the problem is correct and the current 4.x libm is incompatible with 3.x applications. This hasn't always been true though and I haven't looked for when this became the case (yet). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org