the test.pl file
Code:
#!/usr/bin/perl
BEGIN{
require "/home/neteng/RRDs.pm";
eval('"/home/neteng/RRDs.pm"->import()');
}
permissions of module
[neteng@netflow neteng]$ ll RRDs.pm
-rw-rw-rw- 1 neteng neteng 3514 Oct 22 13:39 RRDs.pm
[neteng@netflow neteng]$ perl -c test.pl
Can't locate loadable object for module RRDs in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at test.pl line 6
Compilation failed in require at test.pl line 6.
BEGIN failed--compilation aborted at test.pl line 8.
Ran as root:
[root@netflow neteng]# perl -c test.pl
test.pl syntax OK
it's not the fact that it's not finding the module. I have had that error before....it says Cannot locate file RRDs.pm. This is actually a different error, where it says "Cannot locate loadable module"
I think it has something to do with bastille linux.
ive spent about 20+ hrs on this problem, im about ready to reformat and not use bastille.
~Zach