link error with jdk-1.3

Armando Di Cianno armando at nycap.rr.com
Thu Dec 13 06:23:59 EST 2001


> 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 at rpi.edu

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





More information about the Linuxppc-dev mailing list