[mrtg] MRTG/ Can't locate loadable object for module RRDs

Steve Shipway s.shipway at auckland.ac.nz
Sun Jan 17 22:45:32 CET 2010


> I Installed rrdtol for Solaris 10 in my mrtg server
...
> /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/RRDp.pm
> /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/RRDs.pm
> /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/auto/RRDp/.packlist
> /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/ntmake.pl
> /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/perllocal.pod
...
> Can't locate loadable object for module RRDs in @INC (@INC contains:
> /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/
> /usr/local/mrtg-2/bin/../lib/mrtg2 /usr/local/mrtg-2/bin
> /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib
> /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4
> /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
> /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at
> /usr/local/mrtg-2/bin/mrtg line 342
> Compilation failed in require at /usr/local/mrtg-2/bin/mrtg line 342.
> root at hcons07 #

You are missing some files in your installation.

/usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/auto/RRDs/RRDs.so
/usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/auto/RRDs/.packlist
/usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/auto/RRDs/RRDs.bs

Once you have these correctly installed, it will work.

Steve



More information about the mrtg mailing list