*BSD News Article 73108


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!nntp.coast.net!fu-berlin.de!zrz.TU-Berlin.DE!news.tu-chemnitz.de!goliath.csn.tu-chemnitz.de!rwa
From: Ronald Wahl <rwa@informatik.tu-chemnitz.de>
Newsgroups: comp.os.linux.x,comp.unix.bsd.freebsd.misc,comp.infosystems.www.browsers.x
Subject: Re: Fix for Netscape v3.0x java / appletclassloader problem
Date: Mon, 8 Jul 1996 12:38:02 +0200
Organization: University of Technology Chemnitz, FRG
Lines: 53
Message-ID: <Pine.LNX.3.94.960708122431.5096B-100000@goliath.csn.tu-chemnitz.de>
References: <Du37Eu.45H@beaver.cs.washington.edu> <Pine.LNX.3.94.960706024415.805A-100000@goliath.csn.tu-chemnitz.de>
NNTP-Posting-Host: goliath.csn.tu-chemnitz.de
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: rwa@goliath.csn.tu-chemnitz.de
In-Reply-To: <Pine.LNX.3.94.960706024415.805A-100000@goliath.csn.tu-chemnitz.de>
Xref: euryale.cc.adfa.oz.au comp.os.linux.x:35281 comp.unix.bsd.freebsd.misc:23039 comp.infosystems.www.browsers.x:5905

On Sat, 6 Jul 1996, Ronald Wahl wrote:

> On Fri, 5 Jul 1996, craig horman wrote:
> 
> > After fiddling with the now-familiar `couldn't create AppletClassLoader' 
> > error issued by Netscape 3.0b* for too many hours (an strace'd Netscape 
> > is not a pretty thing to watch), I think I've found a solution to 
> > the problem. At least, I was able to cure it on two Linux boxes.
> > [...]
> 
> I have not the AppletClassLoader problem, but I get bus errors when I try to
> 
>   * execute Java-Applets
>   * edit the source
>   * start netscape with no .netscape directory present
> 
> I fiddled with the fonts.dir and fonts.alias but this has no effect. The
> bus errors still occure (3.0b4, 3.0b5, 3.0b5a) and I have to stay with
> 3.0b3 (expires on July 31 :-( ).

Now I found the solution to at least the problems I described:

You need libXpm.so.4.6 and libc.so.5.0.9. Newer releases seems to trigger
the bus errors. To force netscape to use these libraries I recommend the
following steps:

  * Create a directory and copy all netscape specific libraries (i.e.
    libXpm.so.4.6 and libc.so.5.0.9 to this directory

  * Change to this directory and call "ldconfig -n ." to generate the
    links.

  * Start netscape via the following script

-------------------
#!/bin/sh
NS_EXE=<full path of the netscape executable>
NS_LIBS=<directory with netscape specific libraries>
LD_LIBRARY_PATH=$NS_LIBS:/lib:/usr/lib:/usr/X11R6/lib exec $NS_EXE $*
-------------------

hope it helps,
ron

P.S. If there is somebody who gets the libtextplugin from the SDK working
     please drop me a note how to get it working.

--
\ Ronald Wahl --- rwa@informatik.tu-chemnitz.de   \
 \ WWW: http://www.tu-chemnitz.de/~row             \
  \ Talk: rwa@goliath.csn.tu-chemnitz.de            \
   \ PGP key available by finger to my email address \