npc error + cacti

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
karthi
Posts: 26
Joined: Thu Feb 02, 2006 2:59 pm

npc error + cacti

Post by karthi »

i am tried to integrate nagios to cacti so am using NPC for this i followed all the steps but when i came to below step, some error is comding i dont understand pls help me


[root@cacti-linux 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
make: *** [all] Error 1
ceyounger
Posts: 44
Joined: Fri Feb 10, 2006 2:59 pm
Location: Orange County, CA
Contact:

Me too!

Post by ceyounger »

I have the exact same error.

I reinstalled (from scratch) Nagios and I get the same compile error:

[root@mon01 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
make: *** [all] Error 1

I really want to get NPC up an running, but this is my latest brick wall.
ceyounger
Posts: 44
Joined: Fri Feb 10, 2006 2:59 pm
Location: Orange County, CA
Contact:

Post by ceyounger »

Duh...

I feel stupid...this was answered here in the NPC thread:

http://forums.cacti.net/viewtopic.php?t ... c&start=30
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest