npc problem

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
chirag123
Posts: 2
Joined: Thu Oct 21, 2010 1:18 am

npc problem

Post by chirag123 »

Hi Guys.
im configuring npc with cacti. my cacti works fine. i can able to install nagios successfully and it works fine too.
but when i copy inserter.c, make files in to nagios source dir/module/ and hit "make" it gives me following error.

[root@localhost module]# make
gcc -g -O2 -Wall -o inserter.o inserter.c -shared -I../include -I/usr/include/mysql -lmysqlclient -fPIC
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status

any suggestion on this
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests