LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   NagiosGraph fails precheck on RRDTool? (http://www.linuxquestions.org/questions/linux-software-2/nagiosgraph-fails-precheck-on-rrdtool-882342/)

thllgo 05-23-2011 05:02 PM

NagiosGraph fails precheck on RRDTool?
 
Hello,

I'm trying to install NagiosGraph for the first time. I have downloaded nagiosgraph 1.4.4, un tar'd and run the "install.pl --check-prereq" command. Everything comes back just fine except the line
Quote:

RRDs... ***FAIL***
I have downloaded and installed RRDTool 1.4.5, it compiled, installed and tested by generating the stripes.png file. What is NagiosGraph looking for? I don't know where to turn at this point.

thllgo 05-23-2011 06:03 PM

If I run the command
Quote:

perl -MRRDs -le 'print q(ok!)'
I get
Quote:

Can't load '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/RRDs/RRDs.so'
for module RRDs: librrd.so.4: cannot open shared object file: No such file or directory at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
at -e line 0
Compilation failed in require.
BEGIN failed--compilation aborted.
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/RRDs/RRDs.so exists and is 555 root root, tried to set it to 777, didn't work.
librrd.so.4 got installed to /opt/rrdtool-1.4.5/lib/librrd.so.4.1.4 (this is curious) should this be somewhere else?

thllgo 05-24-2011 11:32 AM

Found the problem, the install off RRDTool copied all the libs to /opt/rrdtool-1.4.5/lib/... and they needed to be in /usr/lib64. If I didn't need it I'd really dislike nagiosgraph and rrdtool.


All times are GMT -5. The time now is 02:22 PM.