[rrd-users] newbee: mrtg-rrd.cgi compilation problem on solaris 10

Arno _ r_no at hotmail.com
Wed Nov 25 11:41:08 CET 2009




Hello,
I'm trying to make my RRD working, the first part is ok. That mean making RRD file from an mrtg.cfg file, but the parrt to create the web page I can't make it work.
I try to add every path information, all .pm are where they should be but I'm still getting this error.

And I realy need this stuff to work.


error:

[Wed Nov 25 11:25:09 2009] [error] [client 10.137.141.209] Can't load '/usr/local/rrdtool/lib/perl/5.8.8/sun4-solaris/auto/RRDs/RRDs.so' for module RRDs: ld.so.1: perl: fatal: libfreetype.so.6: open failed: No such file or directory at /usr/perl5/5.8.4/lib/sun4-solaris-64int/DynaLoader.pm line 230.

[Wed Nov 25 11:25:09 2009] [error] [client 10.137.141.209]  at /data/htdocs/mrtg-doc/cgi/mrtg-rrd.cgi line 41

[Wed Nov 25 11:25:09 2009] [error] [client 10.137.141.209] Compilation failed in require at /data/htdocs/mrtg-doc/cgi/mrtg-rrd.cgi line 41.

[Wed Nov 25 11:25:09 2009] [error] [client 10.137.141.209] BEGIN failed--compilation aborted at /data/htdocs/mrtg-doc/cgi/mrtg-rrd.cgi line 41.

[Wed Nov 25 11:25:09 2009] [error] [client 10.137.141.209] Premature end of script headers: mrtg-rrd.cgi





particular config on mrtg-rrd.cgi

# Location of RRDs.pm, if it is not in @INC

# use lib '/usr/lib/perl5/5.00503/i386-linux';



use lib qw(/usr/local/rrdtool/lib/perl/5.8.8/sun4-solaris);

use lib qw(/usr/local/rrdtool/lib/perl);

use RRDs; # that's the line 41



# EDIT THIS to reflect all your MRTG config files

BEGIN { @config_files = qw(/usr/local/mrtg-2/cfg/vennes1.ch.pbk.cfg); }



and RDDs.pm is:

/usr/local/rrdtool-1.2.30/lib/perl/5.8.8/sun4-solaris/RRDs.pm

/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/RRDs.pm # it's just a copy of the previous one


Any help will great thanks in advance,


arno


 		 	   		  
_________________________________________________________________
Windows Live: Make it easier for your friends to see what you’re up to on Facebook.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20091125/378f49c6/attachment-0001.htm 


More information about the rrd-users mailing list