Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

libdl.so.2 not found for java plugin

0 views
Skip to first unread message

N Deepak

unread,
Oct 19, 2005, 2:18:06 AM10/19/05
to
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"]

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 am using FreeBSD 5.3, linprocfs is mounted)

Regards,
Deepak

_______________________________________________
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

Lowell Gilbert

unread,
Oct 20, 2005, 9:55:45 AM10/20/05
to
N Deepak <de...@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...

N Deepak

unread,
Oct 21, 2005, 2:40:00 AM10/21/05
to
On Thu, Oct 20, 2005 at 09:55:45AM -0400, Lowell Gilbert wrote:
> > 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
> ~>
>
It's there on my system too. But LoadPlugin doesn't seem to see it! Am
I supposed to use libmap.conf? The man page didn't help me much.

deep@FreeBSD:/compat/linux/lib$ ls libdl*
libdl-2.3.2.so libdl.so.2
deep@FreeBSD:/compat/linux/lib$

Thanks,

0 new messages