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
npc error + cacti
Moderators: Developers, Moderators
Me too!
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.
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.
Duh...
I feel stupid...this was answered here in the NPC thread:
http://forums.cacti.net/viewtopic.php?t ... c&start=30
I feel stupid...this was answered here in the NPC thread:
http://forums.cacti.net/viewtopic.php?t ... c&start=30
Who is online
Users browsing this forum: No registered users and 2 guests