libdl.so.2 not found for java plugin
Lowell Gilbert
freebsd-questions-local at be-well.ilk.org
Thu Oct 20 06:55:47 PDT 2005
N Deepak <deep at symonds.net> writes:
> Hi,
>
> I am trying to get Java plug-in for Mozilla working. I have read the
> handbook and compiled/installed ports/java/linux-sun-jdk14/
>
> I can execute /usr/local/linux-sun-jdk1.4.2/bin/java.
>
> When I symlink libjavaplugin_oji.so from
> /usr/X11R6/lib/browser_plugins/ to the plugin path in jdk directory, I
> get this error message on starting Mozilla:
>
> LoadPlugin: failed to initialize shared library
> /usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
> [Shared object "libdl.so.2" not found, required by
> "libjavaplugin_oji.so"]
On my system, that was installed from linux_base:
~> /usr/local/sbin/pkg_which /usr/compat/linux/lib/libdl.so.2
linux_base-8-8.0_6 linux_base-8-8.0_7
~>
> Help, please!
>
> Other options I have tried:
> jdk1.3 -> java binary crashes ('OUCH: nested memory code, to 1
> levels')
> native jdk1.5 -> compile stops after a series of errors ('Java
> HotSpot(TM) Client VM warning: Can't detect initial thread stack
> location')
I've been using the native jdk14 for years with few problems...
More information about the freebsd-questions
mailing list