[rrd-users] Sunfreeware RRDTool package

David Ball davidtball at gmail.com
Thu May 24 17:19:43 CEST 2007


  I generally specify a slightly 'fuller' path in my use lib;
statements, such as:
use lib '/usr/local/rrdtool-1.2.19/lib/perl/5.6.1/i386-linux';

  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?

David

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 .) at
> ./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