When I CONFIGUREd NTOP w/ unnec (for BSD) --with-gdchart Understand that while they may not be necessary (IF the .so libraries exist), the presence or absence of these configuration parameters causes ntop's ./configure to perform different tests.
We used to hand hold you through this, but that causes 1000s of lines of configure.in code. Instead, silly ntop, we belive and use what you tell us. If you drive a car off a cliff, bad things happen. If you tell a program to configure itself stupidly, bad things happen. The only difference, between 2.1 and 2.2 is that we removed the guardrail... -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of The Jetman Sent: Tuesday, May 20, 2003 2:00 PM To: [EMAIL PROTECTED] Subject: Re: [Ntop] rrd plugin doesn't load when ntop starts ----- 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 _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
