From owner-freebsd-questions@FreeBSD.ORG Thu Oct 20 13:55:47 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6045816A41F for ; Thu, 20 Oct 2005 13:55:47 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail23.sea5.speakeasy.net (mail23.sea5.speakeasy.net [69.17.117.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1031F43D62 for ; Thu, 20 Oct 2005 13:55:47 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 11246 invoked from network); 20 Oct 2005 13:55:46 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail23.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Oct 2005 13:55:46 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 096DB34; Thu, 20 Oct 2005 09:55:45 -0400 (EDT) Sender: lowell@be-well.ilk.org To: N Deepak References: <20051019061806.GA27223@symonds.net> From: Lowell Gilbert Date: 20 Oct 2005 09:55:45 -0400 In-Reply-To: <20051019061806.GA27223@symonds.net> Message-ID: <44mzl4e1i6.fsf@be-well.ilk.org> Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: libdl.so.2 not found for java plugin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 13:55:47 -0000 N Deepak 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...