Subject: blackdown linuxppc problem on netbsd 1.6
To: None <port-macppc@netbsd.org>
From: Tom Winchester <winchest@internode.on.net>
List: port-macppc
Date: 10/02/2002 01:36:53
Hi there.

It's hard to know if the port-macppc is the best or right place for 
this question, but given that the blackdown linuxppc of java is pretty 
specific to the ppc, and in particular the macppc system, I thought I'd 
try here first.

I have netbsd 1.6 installed on my imac, and went to install the 
blackdown linuxppc port of java. I compiled a kernel with COMPAT_LINUX, 
installed linuxppc_lib through pkgsrc, and then blackdown jre and jdk.

Upon running with a simple command, say 'java -version', I receive 
complaints about a missing glibc library:

----------------------

[winchest@localhost ~] {Sat 28 Sep 2002} 11:40pm 1 > java -version


/usr/pkg/java/blackdown-1.3.1/bin/ppc/native_threads/java: 
/lib/libc.so.6: version `GLIBC_2.2' not found (required by 
/usr/pkg/java/blackdown-1.3.1/lib/ppc/native_threads/libhpi.so)

/usr/pkg/java/blackdown-1.3.1/bin/ppc/native_threads/java: 
/lib/libpthread.so.0: version `GLIBC_2.2' not found (required by 
/usr/pkg/java/blackdown-1.3.1/lib/ppc/native_threads/libhpi.so)

[winchest@localhost ~] {Sat 28 Sep 2002} 11:40pm 2 > exit

----------------------

After puzzling over this for a couple of days, I noticed that the glibc 
library rpm in the current pkgsrc system is 'glibc-2.1.3-15f.ppc.rpm'.

So, does anyone know if it is correct to say that a fresher version of 
the glibc rpm is needed to support blackdown? Is it as simple as 
grabbing the appropriate rpm?

Tom Winchester
tom.winchester@internode.on.net