Date: 20 Oct 2005 09:55:45 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: N Deepak <deep@symonds.net> Cc: freebsd-questions@freebsd.org Subject: Re: libdl.so.2 not found for java plugin Message-ID: <44mzl4e1i6.fsf@be-well.ilk.org> In-Reply-To: <20051019061806.GA27223@symonds.net> References: <20051019061806.GA27223@symonds.net>
next in thread | previous in thread | raw e-mail | index | archive | help
N Deepak <deep@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...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44mzl4e1i6.fsf>
