Re: [Nagios-db-devel] Problem with loading the inserter.o NEB module
Status: Beta
Brought to you by:
bench23
From: Ben <be...@si...> - 2005-04-27 19:04:32
|
What does `ldd /usr/local/nagios/modules/inserter.o` say? On Wed, 27 Apr 2005, Jonathan Bibeau wrote: > Greetings. > > I'm running Debian unstable, compiled and installed Nagios 2.0b3 (with Event > Broker support), and was working on setting up nagios-db, but ran into some > problems. I've compiled the inserter.o under both your release branch and > the version in CVS without any problems, but when Nagios tried to load the > module, it throws off this error: > > Apr 27 14:42:32 localhost nagios: Nagios 2.0b3 starting... (PID=1503) > Apr 27 14:42:32 localhost nagios: LOG VERSION: 2.0 > Apr 27 14:42:32 localhost nagios: Error: Could not load module > '/usr/local/nagios/modules/inserter.o' -> > /usr/local/nagios/modules/inserter.o: undefined symbol: BIO_new_mem_buf > > I'm using the PgSQL NEB module just because I couldn't compile the MySQL > one. I got the following error when trying to compile the MySQL module. > > nms:/usr/src/nagios-db-0.91/neb/mysql# make > gcc -g -O2 -Wall -o inserter.o inserter.c -shared > -I/usr/src/nagios-2.0b3/include -I/usr/include/mysql -lmysqlclient -fPIC > inserter.c: In function `nebmodule_init': > inserter.c:130: error: `CLIENT_MULTI_STATEMENTS' undeclared (first use in > this function) > inserter.c:130: error: (Each undeclared identifier is reported only once > inserter.c:130: error: for each function it appears in.) > make: *** [all] Error 1 > > I browsed around your message lists and tried a few things based on what I > found. I tried back tracking to Nagios 2.0b1, but that didn't change > anything. > > Any thoughts? > > Best regards, > > Jonathan Bibeau < <mailto:jb...@c-...> jb...@c-...> > System Administrator, > CIS Technical Services > 33 Main Street, Suite 302 > Nashua, NH 03064 > (603) 889-4684 (Local) > (603) 889-0534 (Fax) > > |