[root@serv2 mailgraph]# sh mailgraph-init start
Starting mail statistics grapher: mailgraph
Can't load '/usr/local/rrdtool/lib/perl/5.8.5/i386-linux-thread-
multi/auto/RRDs/RRDs.so' for module RRDs: librrd.so.2: cannot open shared object file:
No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-
multi/DynaLoader.pm line 230.
at /usr/local/mailgraph/mailgraph.pl line 219
Compilation failed in require at /usr/local/mailgraph/mailgraph.pl
line 219.
BEGIN failed--compilation aborted
at /usr/local/mailgraph/mailgraph.pl line 219.
rocketcity said:when editing mailgraph.cgi, do you remove the line use RRDs;? The reason I ask is if I do not remove it when addingI get the following error.Code:use lib qw( /usr/local/rrdtool/lib/perl ../lib/perl );
With out "use RRDs;" I get what would be html output when running "mailgraph.cgi"Code:[root@server mailgraph]# ./mailgraph.cgi Can't locate RRDs.pm in @INC (@INC contains: /usr/local/rrdtool/lib/perl ../lib/perl /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-mult. BEGIN failed--compilation aborted at ./mailgraph.cgi line 7.
Thanks for the help.
ignoring line: flag=Co; host=local; line=2006-01-08 05:23:43 1EvS5n-00043u-Ez Completed
ignoring line: flag=Co; host=local; line=2006-01-08 05:23:46 1EvS5q-00043x-AO Completed
ignoring line: flag=Co; host=local; line=2006-01-08 05:24:06 1EvS6A-000443-N4 Completed
ignoring line: flag=Co; host=local; line=2006-01-08 05:24:09 1EvS6B-000440-Qf Completed
ignoring line: flag=Co; host=local; line=2006-01-08 05:24:26 1EvS6U-00044A-4p Completed
ignoring line: flag=Co; host=local; line=2006-01-08 05:24:48 1EvS6p-00044F-Mq Completed
checking libart_lgpl/libart.h usability... no
checking libart_lgpl/libart.h presence... no
checking for libart_lgpl/libart.h... no
checking for pkg-config... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of libart-2.0. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libart_lgpl_2 and its header files. If
you have not installed libart-2.0, you can get it either from its original home on
ftp://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/
You can find also find an archive copy on
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs
The last tested version of libart-2.0 is 2.3.17.
LIBS=-lm
LDFLAGS=
CPPFLAGS= -I/usr/include/libart-2.0
'COMMENT:graph created on '.localtime(time).'\r',
Dear Ted,DutchTSE,
I have posted the tar.gz here if you still need. Thanks for the great work fusionictnl!!!
Ted