Subject: Re: Shared library not found (stoopid question?)
To: Alastair Rankine <a_rankine@yahoo.co.uk>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: netbsd-help
Date: 11/13/2002 04:21:36
On Sun, 2002-11-03 at 23:00, Alastair Rankine wrote:
> Hi guys,
> 
> I know this is probably RTFM-worthy, but I just can't work out why my 
> MRTG/rrdtool install (built from ports) can't seem to find the xpm shared 
> library (also built from port). Here's the error message from mrtg:

export
LD_LIBRARY_PATH=/usr/X11R6/lib:/usr/lib:/usr/pkg/lib:/usr/local/lib

-lava

> 
> >Can't load 
> >'/usr/pkg/lib/perl5/site_perl/5.6.1/powerpc-netbsd//auto/RRDs/RRDs.so' for 
> >module RRDs: Shared object "libXpm.so.4" not found at 
> >/usr/pkg/lib/perl5/5.6.1/powerpc-netbsd/DynaLoader.pm line 206. at 
> >/usr/pkg/bin/mrtg line 172
> >Compilation failed in require at /usr/pkg/bin/mrtg line 172.
> 
> The shared library _is_ there, in /usr/X11R6/lib
> 
> Any help appreciated, thanks.
>