Subject: Re: Trouble with fvwm95
To: None <port-mac68k@NetBSD.ORG>
From: Dan McMahill <mcmahill@mtl.mit.edu>
List: port-mac68k
Date: 04/05/1998 13:35:20
In message <l03102800b14d6b39d03d@[192.168.0.3]>, Roger Fischer writes:
>I installed fvwm and have been trying to run it instead of twm.  When I do,
>I get the following error.
>
>scooter: {1} fvwm95 -display scooter:0 &
>[1] 6410
>scooter: {2} /usr/libexec/ld.so: fvwm95: libXpm.so.4.10: No such file or
>directo
>ry

>/usr/libexec/ld.so exists, but I'm not sure about the libXpm.so.4.10.  What
>is it and where should it go?  I'm on an SE/30.

libXpm.so.4.10 is the shared library for the xpm graphics stuff.  You need to
install xpm for fvwm to work.  I don't remember if xpm ships with it or not, but
xpm is available as a package under 

ftp://ftp.netbsd.org/pub/NetBSD/packages/1.3/mac68k/graphics/xpm-3.4j.tgz


If you have a network (ethernet or ppp) connection, you can download and 
install via

pkg_add ftp://ftp.netbsd.org/pub/NetBSD/packages/1.3/mac68k/graphics/xpm-3.4j.tgz

(as root).

This should put the libXpm library in /usr/pkg/lib.

the next step is to make ld.so look there for it.  The best way is in
/etc/ld.so.conf

add a line
/usr/pkg/lib

to the file.  My /etc/ld.so.conf looks like:

/usr/lib
/usr/X11R6/lib
/usr/pkg/lib

see man ldconfig to see how to make this take effect without rebooting.

Dan