link error with jdk-1.3

2 messages, 2 authors, 2001-12-12 · open the first message on its own page

link error with jdk-1.3

From: Jesse McCrosky <hidden>
Date: 2001-12-12 18:56:40

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/

Re: link error with jdk-1.3

From: Armando Di Cianno <hidden>
Date: 2001-12-12 19:23:59

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help