From owner-freebsd-java@FreeBSD.ORG Tue May 31 03:56:56 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 22DA116A41C for ; Tue, 31 May 2005 03:56:56 +0000 (GMT) (envelope-from Qiang.Xu@fujixerox.com) Received: from mx1.fujixerox.co.jp (mx1.fujixerox.co.jp [192.26.96.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CA2F43D1D for ; Tue, 31 May 2005 03:56:54 +0000 (GMT) (envelope-from Qiang.Xu@fujixerox.com) Received: from isvw1.fujixerox.co.jp ([129.249.27.131]) by mx1.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id j4V3urC00078 for ; Tue, 31 May 2005 12:56:53 +0900 (JST) Received: from ms1.fujixerox.co.jp (isvw1 [129.249.27.131]) by isvw1.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id j4V3uqo28238 for ; Tue, 31 May 2005 12:56:52 +0900 (JST) Received: from sgpaphq-smtp02.fujixerox.com ([13.198.8.74]) by ms1.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id j4V3upP15745 for ; Tue, 31 May 2005 12:56:51 +0900 (JST) Received: from 10.198.8.10 by sgpaphq-smtp01.fujixerox.com with ESMTP id 54999341117511778; Tue, 31 May 2005 11:56:18 +0800 Received: from localhost (localhost [127.0.0.1]) by localhost.sgp.fujixerox.com (Postfix) with SMTP id 496531D8FE for ; Tue, 31 May 2005 11:49:26 +0800 (SGT) Received: from sess.xssc.sgp.xerox.com (unknown [13.198.33.122]) by imss.sgp.fujixerox.com (Postfix) with ESMTP id 8873A1D8FE; Tue, 31 May 2005 11:49:15 +0800 (SGT) From: Xu Qiang To: freebsd-java@freebsd.org Date: Tue, 31 May 2005 11:59:10 +0800 X-Sent-Folder-Path: Sent Items X-Mailer: Oracle Connector for Outlook 9.0.4 60130 (9.0.2711) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: <20050531034915.8873A1D8FE@imss.sgp.fujixerox.com> Cc: "Qiang \(XSSC\) Xu" Subject: jdk 1.3.1 in FreeBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2005 03:56:56 -0000 Hi, all: = I have downloaded diablo-jdk-1.3.1.0.tgz to my FreeBSD 5.3 (for i386) machi= ne. And "tar zxvf" it into /usr/local. But when I run "java -version" to do= a check, it told me that it can't find libc.so.4: = ----------------------------------------- /usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found, required by = "java" ----------------------------------------- I have found compat4x-i386-5.3.tbz in FreeBSD 5.3 Disc 1. I "tar jxvf" the = library files into /lib/compat4x. And make some symbolic links: = ln -s compat4x/libc.so.4 ln -s compat4x/libm.so.2 (This one is also required by the package diablo-j= dk-1.3.1.0.tgz) After that, I run "java -version" again, but it throwed out a segmentation = fault and dumped core. :( ----------------------------------------- # java -version Segmentation fault (core dumped) ----------------------------------------- And when I use gdb to trace the core file, it can't recognize the file form= at: ----------------------------------------- # gdb java java.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you ar= e welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details.= This GDB was configured as "i386-marcel-freebsd"..."/usr/local/diablo-jdk1.= 3.1/bin/java": not in executable format: File format not recognized Core was generated by `java'. Program terminated with signal 11, Segmentation fault. #0 0x280ee35a in ?? () (gdb) = ----------------------------------------- Any help? Regards, Xu Qiang