Subject: Re: fvwm95 problem with libXpm.so.4
To: None <port-pmax@netbsd.org>
From: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
List: port-pmax
Date: 04/16/1999 14:27:49
>> Yup, the link exists. I've even rebooted the machine 
>> after making the link...
>> I've also checked to see if I'd got the link back to front.. Nope.
>
> It's quite likely that some of the package programs were built without
> the rpath option, so they don't know enough to search in /usr/X11R6/lib.
> Try doing 'setenv LD_LIBRARY_PATH=/usr/X11R6/lib' [or equivalent] and see
> if that helps.

'Missing file problem' can also be tracked down using ktrace(1).

From remote login via telnet/rlogin or local serial connection;

	$ ktrace -t n fvwm95

After completion of fvwm95, the directory contains ktrace.out file.
Then run kdump(1) command to analyze it.  You would see like;

 12405 ktrace   NAMI  "/usr/X11R6/bin/xclock"
 12405 ktrace   NAMI  "/usr/libexec/ld.elf_so"
 12405 xclock   NAMI  "/usr/X11R6/lib/libXaw.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libXaw.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libXaw.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libXmu.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libXmu.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libXmu.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libXt.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libXt.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libXt.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libSM.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libSM.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libSM.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libICE.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libICE.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libICE.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libXext.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libXext.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libXext.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libX11.so.6"
 12405 xclock   NAMI  "/usr/X11R6/lib/libX11.so.6"
 ...

The list says which files are searched to proceed the fvwm95.  Other
options would be also useful to track down what's exactly issue for
you. 

Tohru Nishimura
Nara Institute of Science and Technology