From owner-freebsd-java Sat Oct 30 8:20:30 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 9C9C014C36 for ; Sat, 30 Oct 1999 08:20:26 -0700 (PDT) (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 JAA22761; Sat, 30 Oct 1999 09:20:25 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA08953; Sat, 30 Oct 1999 09:20:24 -0600 Date: Sat, 30 Oct 1999 09:20:24 -0600 Message-Id: <199910301520.JAA08953@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: Subject: Re: Undefined symbol gmtime_r with jdk1.1.8 In-Reply-To: <000001bf22a9$d09e0ea0$ddca173f@pongo> References: <000001bf22a9$d09e0ea0$ddca173f@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 > My PATH, CLASSPATH and dynamic library search path (ldconfig -r) seem to be > set correctly, and in particular, libc_r.so (which contains gmtime_r symbol) > is in the search path for .so > Ah... one more information: since I use FreeBSD3.0, I'm using the elf > version of jdk binaries. Sounds like LD_LIBRARY_PATH is setup incorrectly. Note, it should not be setup at all for running the JDK, the scripts set it up for you. The symbol gmtime_r is *NOT* gotten out of any of the standard libraries (such as libc_r), but is part of the java libraries. We don't use libc_r for *ANYTHING*, and if the symbols are pulled out of it then something is wrong in your setup. Also, ldconfig should't be pointed to any of the JDK libraries or JDK library directories, again because the scripts do this already the right way. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message