Skip to contentSkip to conversation

link error with jdk-1.3

DISCUSSION Jesse McCrosky 2 participants 2 messages Dec 12, 2001

lore
Share & tools
lore
#0 lore raw

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
[email protected]
GPG Public Key: http://www.ualberta.ca/~mccrosky/public_key.asc

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

#1 lore raw
Quoted 7 lines

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
[email protected]

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