[rrd-users] Can't locate loadable object for module RRDs

Morten Bjørnsvik morten.bjornsvik at experian-scorex.no
Wed Jan 9 15:41:18 CET 2008


Hi Joe
 
use the 'lib' notation to specify various source libraries, then enter the
perl modules just below aka:
 
use lib qw(/usr/local/rrdtool-1.2.26/lib/perl/5.8.5/i386-linux-thread-multi);
use RRDs.pm;
 
 
--
MortenB


________________________________

	From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users-bounces at lists.oetiker.ch] On Behalf Of Joe Loiacono
	Sent: 9. januar 2008 15:33
	To: rrd-users at lists.oetiker.ch
	Subject: [rrd-users] Can't locate loadable object for module RRDs
	
	

	The problem is that the RRDtool 'make install' puts RRDs.pm into a library that Perl is not familiar with. 
	
	RRDtool 'make install' puts it here: 
	
	/usr/local/rrdtool-1.2.26/lib/perl/5.8.5/i386-linux-thread-multi 
	
	Perl looks for it here (as well as other places): 
	
	/usr/lib/perl5/5.8.5/i386-linux-thread-multi 
	
	To solve this I copied RRDs.pm into the Perl library, but then struggled to find out that you must also copy the RRDs and RRDp directories and their contents from the RRDtool installed 'auto' directory into the Perl 'auto' directory. 
	
	Is this the *proper* way to do this? I couldn't find a way to permanently modify the Perl @INC array. 
	
	Thanks, 
	
	Joe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20080109/2f0450f6/attachment.html 


More information about the rrd-users mailing list