[rrd-users] Sunfreeware RRDTool package

Andrikopoulos Dimitrios dandrikop at cosmote.gr
Thu May 24 17:27:22 CEST 2007

The RRD.pm is actually found at the following location which is included
in @INC:


>From the Perl "complaints", it is obvious that it indeed finds the
"RRD.pm" file.


-----Original Message-----
From: David Ball [mailto:davidtball at gmail.com] 
Sent: Thursday, May 24, 2007 6:20 PM
To: Andrikopoulos Dimitrios
Cc: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] Sunfreeware RRDTool package

  I generally specify a slightly 'fuller' path in my use lib;
statements, such as: use lib

  and it seems to work fine (on Linux, in my case).  Have you verified
that the RRDs.pm file is located where you think it is, and it's
readable by the user running the perl script?


On 5/24/07, Andrikopoulos Dimitrios <dandrikop at cosmote.gr> wrote:
> Hello,
>   The RRDTool from SunFreeware.com was installed successfully in 
> Solaris 10. However, when I try to use the RRDs module with the 
> following simple
> program:
> =================================================
> #!/usr/local/bin/perl
> use lib "/usr/local/rrdtool-1.2.19/lib/perl";
> use RRDs;
> =================================================
> I'm getting the complaints:
> =================================================
> 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/rrdtool-1.2.19/lib/perl/5.8.7 
> /usr/local/rrdtool-1.2.19/lib/perl
> /usr/local/lib/perl5/5.8.8/sun4-solaris /usr/local/lib/perl5/5.8.8
> /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris
> /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .)
> ./test.pl line 4
> Compilation failed in require at ./test.pl line 4.
> BEGIN failed--compilation aborted at ./test.pl line 4.
> =================================================
> Any ideas?
> BR,
> Dimitris

More information about the rrd-users mailing list