Subject: Something wrong with SPARC "mosaic" package?
To: None <netbsd-help@netbsd.org, netbsd-users@netbsd.org>
From: Bruce Ediger <eballen1@qwest.net>
List: netbsd-help
Date: 11/02/2001 08:34:27
This took place on a Sun SPARCStation-10 (single 50 MHz CPU) running a
slightly customized NetBSD 1.5 kernel.

I wanted to install the "mosaic" package from www.netbsd.org - Netscapes 3.04
and 4.08 running under SunOS 4.1 emulation either crash a lot or get hung
up on some DNS and YP confusion, so I thought I'd give Mosaic a try.

I think the package is goofed up somehow. I do something like:

mystic# pkg_add -v -f ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/sparc/All/mosaic-2.7b5.tgz

And it ends up telling me this:
---
extract: Package name is mosaic-2.7b5
extract: CWD to /usr/X11R6
extract: /usr/X11R6/bin/Mosaic
extract: /usr/X11R6/bin/mosaic
extract: /usr/X11R6/lib/X11/app-defaults/Mosaic
extract: execute 'mkdir -p /usr/X11R6/share/mosaic'
extract: CWD to .
Running mtree for mosaic-2.7b5.
mtree -U -f +MTREE_DIRS -d -e -p /usr/X11R6
Attempting to record package into /var/db/pkg/mosaic-2.7b5.
Attempting to record dependency on package `jpeg-6b'
Attempting to record dependency on package `lesstif12-*'
pkg_add: Where did our dependency go?!
ftp: mystic# No control connection for command.
---

"mystic" is the SS-10 running a customized NetBSD 1.5 kernel.  Although
my disk space is tight, the machine doesn't run out of disk during the
install.  Something goes wrong with the "mosaic-2.7b5" package install
really close to the end:

$ which mosaic
/usr/X11R6/bin/mosaic
$ ldd /usr/X11R6/bin/mosaic
/usr/X11R6/bin/mosaic:
         -lz.0 => /usr/lib/libz.so.0
         -lm.0 => /usr/lib/libm.so.0
         -lpng.1 => /usr/pkg/lib/libpng.so.1
         -ljpeg.62 => /usr/pkg/lib/libjpeg.so.62
         -lXm.1 => not found
         -lX11.6 => /usr/X11R6/lib/libX11.so.6
         -lICE.6 => /usr/X11R6/lib/libICE.so.6
         -lSM.6 => /usr/X11R6/lib/libSM.so.6
         -lXt.6 => /usr/X11R6/lib/libXt.so.6
         -lXext.6 => /usr/X11R6/lib/libXext.so.6
         -lXmu.6 => /usr/X11R6/lib/libXmu.so.6
         -lXpm.4 => not found
         -lc.12 => /usr/lib/libc.so.12

I can't for the life of me get the two missing dynamic libraries to
appear.  No amount of symbolic linking, file copying and touching will
make the missing dynamic libraries appear.  What's the scoop there?

It's not an FTP problem.  I downloaded the mosaic-2.7b5.tgz file,
and did this:

------------
# pkg_add -v -f mosaic-2.7b5.tgz
	.....
extract: CWD to .
Running mtree for mosaic-2.7b5.
mtree -U -f +MTREE_DIRS -d -e -p /usr/X11R6
Attempting to record package into /var/db/pkg/mosaic-2.7b5.
Attempting to record dependency on package `jpeg-6b'
Attempting to record dependency on package `lesstif12-*'
pkg_add: Where did our dependency go?!
------------