Subject: Re: Problem with netscape navigator
To: Paul Newhouse <newhouse@rockhead.com>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 06/01/2002 00:11:45
On Fri, 31 May 2002, Paul Newhouse wrote:

> > On Fri, 31 May 2002, Paul Newhouse wrote:
> >
> > > Platform i386
> > >
> > > Some pages give me:
> > >
> > > sh: error in loading shared libraries: /usr/pkg/lib/libcurses.so.5 undefined symbol: __sF
> > >
> > > Is this fixable?  If so what do I do?
> >
> > You need to give more details, like which OS you are running, which
> > "netscape navigator". The file "/usr/pkg/lib/libcurses.so.5" is not
> > even present on a normal NetBSD system. And by the way, when you
> > report an error with browser, it's customary to give a URI, so others
> > can see if they can reproduce it.
>
> : uname -a
> NetBSD pimin 1.5.2 NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05 CEST 2001
>  he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386
>
> http://www.alliedelec.com/catalog/pf.asp?PreviousCatalog=True&FN=520.pdf
>
> navigator-4.79      Netscape navigator standalone browser - Digital
> UNIX/Linux/SunOS binary

OK, on my system, NetBSD-1.5.3/i386, navigator-4.79 opened the pdf in
"xpdf", leaving an empty frame on the bottom 2/3 of the page; then I
went into preferences, and switched the acroread plugin on (that from
the "acroread" package), then recalling the URL opened the pdf in the
frame. I notice that it edited my ~/.mailcap and ~/.mime.types files.
No error.

> : ls -l /usr/pkg/lib/*cur*
> -rw-r--r--  1 root  wheel  140368 May 31 13:58 /usr/pkg/lib/libncurses++.a
> -rwxr-xr-x  1 root  wheel     780 May 31 13:58 /usr/pkg/lib/libncurses++.la
> lrwxrwxr-x  1 root  wheel      19 May 31 13:58 /usr/pkg/lib/libncurses++.so ->
> libncurses++.so.5.2
> lrwxrwxr-x  1 root  wheel      19 May 31 13:58 /usr/pkg/lib/libncurses++.so.5
> -> libncurses++.so.5.2
> -rwxr-xr-x  1 root  wheel  144614 May 31 13:58 /usr/pkg/lib/libncurses++.so.5.2
> -rw-r--r--  1 root  wheel  372832 May 31 13:57 /usr/pkg/lib/libncurses.a
> -r--r--r--  1 root  wheel     736 May 31 13:57 /usr/pkg/lib/libncurses.la
> lrwxrwxr-x  1 root  wheel      17 May 31 13:57 /usr/pkg/lib/libncurses.so ->
> libncurses.so.5.2
> lrwxrwxr-x  1 root  wheel      17 May 31 13:57 /usr/pkg/lib/libncurses.so.5 ->
> libncurses.so.5.2
> -r--r--r--  1 root  wheel  268426 May 31 13:57 /usr/pkg/lib/libncurses.so.5.2

There's no "libcurses.so.5" in there... was that a typo?

I don't think the error is coming from navigator, as such. Take a look
in the "Edit -> Preferences" menu; pane "Helper -> Applications" and
see what is set to open "Portable Document Format" files. Or perhaps
it would be easier to inspect your ~/.mailcap file. If nothing else,
you might set it to "ask" or "download", download the file, and try
different viewers on it. Besides "xpdf" and "acroread", "gv" will also
open PDF files, but it's rather slow.

Frederick