----- Original Message ----- 
From: "David Pease" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 20, 2003 13:27 PM
Subject: [Ntop] rrd plugin doesn't load when ntop starts


> I'm having a problem getting rrd to load with ntop.  I just compiled the
> latest cvs version.  The rrd section compiled, but when I start ntop
> (./ntop -u ntop), I get the following message:
> 
> 
> 20/May/2003 13:23:52 SFLOW: Welcome to sFlowPlugin. (C) 2002 by Luca
> Deri
> 20/May/2003 13:23:52 **WARNING** Unable to load plugin
> './plugins/rrdPlugin.so'
> 20/May/2003 13:23:52 **WARNING** Message is './plugins/rrdPlugin.so:
> undefined symbol: gdImageCreateFromGd'
> 20/May/2003 13:23:52 Welcome to PeP (Perl embedded Plugin for ntop), (c)
> 2000-2003 R. Carbone
> 
> 
> Ntop then runs fine, only without rrd.
> 
> Any ideas?
> 
> - David
> 
> 

    David:  I was having probs like this on a system I did last week.  
I can only tell you what happened WRT my config (FreeBSD 4.8-RELEASE), 
since you didn't mention your target env.

    Working from vanilla NTOP 2.2 tarball, I used this mini-script to 
config NTOP prior to compilation:

#! /bin/sh
./configure --with-rrd-root=/usr/local/rrdtool-1.0.42 \
--with-rrd-lib=/usr/local/rrdtool-1.0.42/lib \
--with-rrd-include=/usr/local/rrdtool-1.0.42/include \
--with-gdbm-root=/usr/local/lib \
--with-gdbm-lib=/usr/local/lib \
--with-gdbm-include=/usr/local/include

    When I CONFIGUREd NTOP w/ unnec (for BSD) --with-gdchart options, I 
ALWAYS saw similar spurious errors in the syslog, that is, messages about 
missing fns from something that binds to gdchart.

    Once I got down to just the essential --with options for the CONFIGURE, 
all was well.  HTH...Jet


===============  From the desk of Jethro Wright, III  ================
+  Never attribute to malice that which is adequately explained by   +
+  incompetence.                                                     +
===  [EMAIL PROTECTED]  =====================  Hanlon's Razor  ===
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to