Subject: Shared library not found (stoopid question?)
To: None <netbsd-help@netbsd.org>
From: Alastair Rankine <a_rankine@yahoo.co.uk>
List: netbsd-help
Date: 11/03/2002 21:00:21
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:

>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.