Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Oct 1999 09:20:24 -0600
From:      Nate Williams <nate@mt.sri.com>
To:        "Gianluca Torta" <gianluca.torta@gte.net>
Cc:        <freebsd-java@FreeBSD.ORG>
Subject:   Re: Undefined symbol gmtime_r with jdk1.1.8
Message-ID:  <199910301520.JAA08953@mt.sri.com>
In-Reply-To: <000001bf22a9$d09e0ea0$ddca173f@pongo>
References:  <000001bf22a9$d09e0ea0$ddca173f@pongo>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910301520.JAA08953>