From owner-freebsd-questions@FreeBSD.ORG Wed Oct 19 06:18:07 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 60A7B16A41F for ; Wed, 19 Oct 2005 06:18:07 +0000 (GMT) (envelope-from deep@symonds.net) Received: from symonds.net (ca1.symonds.net [66.92.42.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2961643D45 for ; Wed, 19 Oct 2005 06:18:06 +0000 (GMT) (envelope-from deep@symonds.net) Received: from deep by symonds.net with local (Exim 4.44 #1 (Debian)) id 1ES7H4-0007C2-7a; Tue, 18 Oct 2005 23:18:06 -0700 Date: Tue, 18 Oct 2005 23:18:06 -0700 To: freebsd-questions@freebsd.org Message-ID: <20051019061806.GA27223@symonds.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i From: N Deepak Subject: libdl.so.2 not found for java plugin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 06:18:07 -0000 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