Subject: Re: shared object libXpm.so.4 not found
To: Martin Stark <Martin.Stark@rz-online.de>
From: Simon Burge <simonb@netbsd.org>
List: port-pmax
Date: 01/10/2000 10:08:30
Martin Stark wrote:

> Gregory McGarry wrote:
> > 
> > Martin Stark wrote:
> > 
> > > after building fvwm95 (cd /usr/pkgsrc/x11/fvwm95 ; make ; make
> > > install) it says to me:
> > > Shared object libXpm.so.4 not found.
> > >
> > > libXpm.so.4 is physically existent in /usr/X11R6/lib
> > 
> > What does ldd mention?
> 
> now it mentions that all is ok!!!
> I just set the environment variable LD_LIBRARY_PATH to
> /usr/X11R6/lib, and that succeeded.

The correct fix is for the link stage of fvwm95 to use something like

	-Wl,-R/usr/X11R6/lib

which sets the run-time library path (much the same effect as
LD_LIBRARY_PATH except on a per-executable basis).  We're you
using an up-to-date version of the package source version?

Simon.