From owner-freebsd-java Sun Oct 31 5:57: 9 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 96E4915012 for ; Sun, 31 Oct 1999 05:57:04 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id GAA02672; Sun, 31 Oct 1999 06:57:03 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id GAA11642; Sun, 31 Oct 1999 06:57:01 -0700 Date: Sun, 31 Oct 1999 06:57:01 -0700 Message-Id: <199910311357.GAA11642@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Gianluca Torta" Cc: "Nate Williams" , Subject: Re: R: Undefined symbol gmtime_r with jdk1.1.8 In-Reply-To: <001001bf2334$a3e79d00$ecca173f@pongo> References: <001001bf2334$a3e79d00$ecca173f@pongo> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > first of all thanks for the reply Nate. > I'm brand new to jdk, and unfortunately not yet an expert of FreeBSD too, so > I may have misinterpreted the error. here's exactly what I get when I run, > for example, jar: > > /usr/libexec/ld-elf.so.1: > /usr/local/jdk1.1.8/lib/i386/green_threads/libjava.so: Undefined symbol > "gmtime_r" > > I cleaned my LD_LIBRARY_PATH of jdk info as you suggested, but this doesn't > change the behavior. > moreover, I added echo statments in .java-wrapper to display the > (script-set) CLASSPATH and LD_LIBRARY_PATH just before calling the binary, > and the jdk directories have been added correctly by the script. > > any further suggestion would be much appreciated! Try using the a.out version instead of the ELF version. FreeBSD 3.0/3.1 were released in the middle of the ELF/a.out switchover, so the ELF support wasn't quite 'up to snuff' yet. The other choice is to try and grab libc.so from a 3.3-stable system and install it on your box to see if that helps... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message