[mrtg] WARN: found several copies of RRDs.pm in your path

Eric Brander eric_mailing_list at rednarb.com
Mon Nov 6 18:58:57 MET 2006


List,

I just upgraded my MRTG/RRDTool system to Ubuntu 6.1, which in turn 
broke my RRDTool install... so I recompiled/reinstalled RRDTool and now 
I get this error in my MRTG log:

2006-11-06 10:30:04 -- WARN: found several copies of RRDs.pm in your 
path: /usr/local/rrdtool/lib/perl/5.8.8/i486-linux-gnu-thread-multi/, 
/usr/lib/perl5 I will be using 
/usr/local/rrdtool/lib/perl/5.8.8/i486-linux-gnu-thread-multi/. This 
could be a problem if this is an old copy and you think I would be using 
a newer one!


# locate RRDs.pm
/usr/lib/perl5/RRDs.pm
/usr/local/rrdtool-1.2.15/lib/perl/5.8.7/i486-linux-gnu-thread-multi/RRDs.pm
/usr/local/rrdtool-1.2.15/lib/perl/5.8.8/i486-linux-gnu-thread-multi/RRDs.pm

# perl --version
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi


 I believe that the one saved in /usr/lib/perl5 an older version. If I 
remove the LIBADD statement from my master.cfg then I get another error:
RRDs object version 1.2011 does not match bootstrap parameter 1.2015 at 
/usr/lib/perl/5.8/DynaLoader.pm line 245.
Indicating that I have a version mismatch in my @INC. I think my apt-get 
update to 6.10 installed an older version of RRDTool and installed the 
perl libs as well. Building the latest RRDTool doesn't seem to overwrite 
those perl libs.

Any suggestions as to how to "fix" this? Also, can you suggest a good 
way to remove all the old RRDTool install?

Thanks and Regards,

Eric Brander

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list