Subject: Trouble with Gecko/20061024 Firefox/1.5.0.7 and JRE 1.5.0_07
To: None <netbsd-help@NetBSD.org>
From: Al Urbaitis <avu@lanl.gov>
List: netbsd-help
Date: 10/26/2006 11:25:43
I tried to get Linux JRE to cooperate with my native Firefox.
When my native firefox attempts to launch a java application
I get ...
LoadPlugin: failed to initialize shared library 
/usr/pkg/emul/linux/usr/java/sun-1.5/plugin/i386/ns7/libjavaplugin_oji.so 
[Shared object "libX11.so.6" not found]

When I run my "native" ldd on libjavaplugin_oji.so
I get...
/usr/pkg/emul/linux/usr/java/sun-1.5/plugin/i386/ns7/libjavaplugin_oji.so:
         -lX11.6 => not found
         -ldl.2 => not found
         -lc.6 => not found

When I run my linux ldd on libjavaplugin_oji.so
I get...
/usr/pkg/emul/linux/usr/java/sun-1.5/plugin/i386/ns7/libjavaplugin_oji.so
         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xbdad6000)
         libdl.so.2 => /lib/libdl.so.2 (0xbdad2000)
         libc.so.6 => /lib/libc.so.6 (0xbd9b0000)
         /lib/ld-linux.so.2 (0x00000000)

How do I understand  "-lX11.6" is there a clever way to handle
this ?

Thanx
Al