Subject: Re: Mozilla build
To: Matthew Gozo <gozo@ecn.purdue.edu>
From: Ian Fry <Ian.Fry@sophos.com>
List: port-sparc
Date: 11/14/2001 15:11:02
[Cross posting to tech-pkg]

On Wed, Nov 14, 2001 at 10:01:59AM -0500, Matthew Gozo wrote:
> I tried building Mozilla from pkgsrc on my SS5 (which of course took a
> really long time) and let it build anything that it depended on. I used
> "make update" so it would clean up after itself.  Now, when I try to run
> Mozilla (as a normal user or as root, it doesn't matter), it says, "Shared
> object "libnspr4.so" not found" and stops. (I left the quotes as they were,
> rather than changing them to fit American English norms.) Does anyone know
> what it's missing, and where it should find it?

You can work around this by doing something like
'LD_LIBRARY_PATH=/usr/pkg/lib/mozilla mozilla'. 

I've seen the same thing on my i386 machine when running galeon (which uses
the mozilla rendering engine and libraries) - I thought that it was a problem
with galeon, but I guess the problem is with mozilla. Doing a ldd on
galeon-bin listed several references to libnspr4.so, most of which were not
found, although one of them correctly resolved to
/usr/pkg/lib/mozilla/libnspr4.so.

Ian.