From owner-freebsd-java@FreeBSD.ORG Mon Oct 11 03:42:23 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EED3216A4CE for ; Mon, 11 Oct 2004 03:42:22 +0000 (GMT) Received: from pop-a065c28.pas.sa.earthlink.net (pop-a065c28.pas.sa.earthlink.net [207.217.121.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0E9543D46 for ; Mon, 11 Oct 2004 03:42:22 +0000 (GMT) (envelope-from rperry4@earthlink.net) Received: from dialup-4.250.48.208.dial1.weehawken1.level3.net ([4.250.48.208] helo=sphinx.alpha.domain) by pop-a065c28.pas.sa.earthlink.net with esmtp (Exim 3.33 #1) id 1CGr4m-00049z-00; Sun, 10 Oct 2004 20:42:21 -0700 Received: from sphinx.alpha.domain (localhost [127.0.0.1]) by sphinx.alpha.domain (8.12.9p2/8.12.9) with ESMTP id i9B3jSAU001479; Sun, 10 Oct 2004 23:45:28 -0400 (EDT) (envelope-from rperry4@earthlink.net) Received: (from rperry@localhost) by sphinx.alpha.domain (8.12.9p2/8.12.9/Submit) id i9B3jQ5u001478; Sun, 10 Oct 2004 23:45:26 -0400 (EDT) (envelope-from rperry4@earthlink.net) X-Authentication-Warning: sphinx.alpha.domain: rperry set sender to rperry4@earthlink.net using -f Date: Sun, 10 Oct 2004 23:45:25 -0400 From: Bob Perry To: Kurt Miller Message-ID: <20041011034525.GA1189@sphinx.alpha.domain> References: <20041009231503.GA60414@sphinx.alpha.domain> <00a101c4aee1$315b5400$1d0110ac@focus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00a101c4aee1$315b5400$1d0110ac@focus> User-Agent: Mutt/1.4.2.1i cc: freebsd-java@freebsd.org Subject: Re: LoadPlugin Issue with JDK1.3.1 and Mozilla 1.7.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2004 03:42:23 -0000 On (10/10/04 11:52), Kurt Miller wrote: > Date: Sun, 10 Oct 2004 11:52:48 -0400 > From: Kurt Miller > Subject: Re: LoadPlugin Issue with JDK1.3.1 and Mozilla 1.7.2 > To: Bob Perry , freebsd-java@freebsd.org > X-Mailer: Microsoft Outlook Express 6.00.2800.1437 > > From: "Bob Perry" > > I don't develop Java apps for FreeBSD but use the JDK ports > > because I thought it necessary in order to view java apps > > in the browsers (?). I currently run FreeBSD 4.9 and experiment > > with Mozilla 1.7.2, Firefox 0.9.3, and Galeon 1.3.17. > > > > All three browsers have been crashing consistently and I suspect > > that part of the problem may lie with the error message I receive > > stating: > > > > LoadPlugin: Failed to initialize shared library /usr/local/ > > jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/ > > jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined > > symbol "_vt$16nsQueryInterface"] > > A user on OpenBSD ran into this recently... The issue is that > the netscape folks add functions to the nspr library without > properly incrementing the minor version number. This leads > the dynamic loader to believe it can use the nspr library from > the nspr port when it can't. > > Mozilla, Firefox and Galeon all set LD_LIBRARY_PATH such > that it should pick up the nspr library that comes with Mozilla > (or Firefox). There could be a bug in the FreeBSD dynamic > loader that is causing it to ignore LD_LIBRARY_PATH or > to look at /usr/local/lib before LD_LIBRARY_PATH (OpenBSD > had a bug here too, BTW). > > > I had a chance to review the archives and it appears as though > > I should use the Java Development Kit 1.4.1. Is this correct? > > If so, are there any hints or secrets you might want to pass along > > before I port the linux version in? > > With the 1.4.2 jdk nspr is just a bulid depend and can be > uninstalled after you've built the jdk. So you can work around > the problem by switching to 1.4.2 and deinstalling nspr after > building it. > Kurt, Thanks for taking the time to respond. I don't have a lot of expertise in this area and would definitely need help with the work-around you mention. However, is this something that I can request a patch for or am I just dreaming? I opened the Mozilla MAKE file, but as I mentioned, my expertise here is minimal. I don't even know what an nspr is. Pls advise. Thanks again. -- I've learned that whatever hits the fan will not be evenly distributed. FreeBSD 4.9-RELEASE-p2 #0