compiling cacti-spine 0.8.8d with mariadb on centos6

get the other libraries snmp, ssl, etc yum install MariaDB-devel ln -s /usr/lib64/mysql/libmysqlclient_r.so.16.0.0 libmysqlclient_r.so ln -s /usr/lib64/mysql/libmysqlclient.so.16.0.0 libmysqlclient.so then compile if you get this error during make common.h:143:18: error: mib.h: No such file or directory then cp /usr/include/net-snmp/library/mib.h .

cacti database headache

Kept getting database errors in my log. kept running myisamchk –extended-test *.MYI, then ‘myisamchk -r’ didn’t fix shit look for repair_database.php in /var/www/cacti/cli run php repair_database.php it will get rid of your headache