linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* link error with jdk-1.3
@ 2001-12-12 18:56 Jesse McCrosky
  2001-12-12 19:23 ` Armando Di Cianno
  0 siblings, 1 reply; 2+ messages in thread
From: Jesse McCrosky @ 2001-12-12 18:56 UTC (permalink / raw)
  To: LinuxPPC Dev List


I just downloaded the the blackdown powerpc port of jdk-1.3.
Unfortunately there
seems to be some sort of link error.

When I try to run java I get the following error.

/usr/src/j2sdk1.3/jre/bin/ppc/native_threads/java: error while loading
shared libraries: /usr/src/j2sdk1.3/jre/lib/ppc/classic/libjvm.so:
symbol __register_frame_info, version GLIBC_2.0 not defined in file
libc.so.6 with link time reference

I was actually getting a similar error on realpath before, but I hand
edited the .java_wrapper file to replaace realpath references with
absolute pathnames, foolishly thinking this would solve my problem...

I am using glibc-2.2.4

Any ideas?

Thanks.

--
	jesse McCrosky
	mccrosky@ualberta.ca
	GPG Public Key: http://www.ualberta.ca/~mccrosky/public_key.asc

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: link error with jdk-1.3
  2001-12-12 18:56 link error with jdk-1.3 Jesse McCrosky
@ 2001-12-12 19:23 ` Armando Di Cianno
  0 siblings, 0 replies; 2+ messages in thread
From: Armando Di Cianno @ 2001-12-12 19:23 UTC (permalink / raw)
  To: Jesse McCrosky, LinuxPPC Dev List


> When I try to run java I get the following error.
> /usr/src/j2sdk1.3/jre/bin/ppc/native_threads/java: error while loading
> shared libraries: /usr/src/j2sdk1.3/jre/lib/ppc/classic/libjvm.so:
> symbol __register_frame_info, version GLIBC_2.0 not defined in file
> libc.so.6 with link time reference
> I am using glibc-2.2.4

I made my own distro, and encountered this problem.  I solved it by
downloading the YDL 2.0 Glibc 2.1.3 compatability libs, installing them, and
adding a line like this to the beginning of the .java_wrapper file:

export LD_PRELOAD=/usr/lib/libstdc++-3-libc6.1-2-2.10.0.so

The symbols were defined in that lib.  Note, that at one point I had
this environment variable exported from /etc/profile, and a handful of
programs ceased to work in mysterious ways; so I'd stick with only messing
with the .java_wrapper, and affecting only java.

__Armando Di Cianno
diciaa@rpi.edu

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-12 19:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-12 18:56 link error with jdk-1.3 Jesse McCrosky
2001-12-12 19:23 ` Armando Di Cianno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).