From owner-freebsd-java@FreeBSD.ORG Sun Nov 2 21:12:15 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 6803F16A4CE; Sun, 2 Nov 2003 21:12:15 -0800 (PST) Received: from mighty.grot.org (66-117-150-96.web.lmi.net [66.117.150.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30D1F43FD7; Sun, 2 Nov 2003 21:12:14 -0800 (PST) (envelope-from aditya@grot.org) Received: by mighty.grot.org (Postfix, from userid 515) id 893215D4E; Sun, 2 Nov 2003 21:12:13 -0800 (PST) To: Alexey Zelkin References: <20031024122448.A805@phantom.cris.net> X-Archive: encrypt From: Aditya Date: Sun, 02 Nov 2003 21:12:13 -0800 In-Reply-To: <20031024122448.A805@phantom.cris.net> (Alexey Zelkin's message of "Fri, 24 Oct 2003 12:24:48 +0300") Message-ID: Lines: 32 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Common Lisp, i386--freebsd) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: java@freebsd.org Subject: Re: workaround to run Diablo at 5.x 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: Mon, 03 Nov 2003 05:12:15 -0000 > On Fri, 24 Oct 2003 12:24:48 +0300, Alexey Zelkin said: > After few expirements with running of my own compiled jdk I can > suggest workaround to those who need to run Diablo at -CURRENT. > > Following actions need to be done at -CURRENT machine. > > 1. install compat4.i386 2. copy /usr/lib/libm.so.2 from -STABLE > machine to /usr/lib/compat/ at -CURRENT machine 3. Before executing > of java binary make sure that you've set LD_LIBRARY_PATH to > '/usr/lib/compat' value. Following your instructions, I installed the package named: compat4x-i386-5.0.20030328 on a machine running: FreeBSD hilbert.grot.org 5.1-CURRENT FreeBSD 5.1-CURRENT #4: Sun Oct 5 20:26:02 PDT 2003 root@hilbert.grot.org:/usr/obj/usr/src/sys/HILBERT i386 and copied /usr/lib/libm.so.2 from a machine running: FreeBSD mighty.grot.org 4.8-STABLE FreeBSD 4.8-STABLE #0: Mon Apr 7 10:33:16 PDT 2003 aditya@mighty.grot.org:/backup/obj/trunk/src/sys/MIGHTY i386 and running java -version yields a bus error: pid 967 (java), uid 515: exited on signal 10 What is going wrong? Thanks, Adi