报错内容:
1 2 3 |
/usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status make: *** [spine] Error 1 |
解决办法:
centos:
1 |
yum install mysql-devel |
ubuntu:
1 |
apt-get install libmysqlclient-dev |
包安装完成后
1 2 3 4 |
make clean all ./configure make make install |
原文链接:编译cacti-spine-1.1.38报错cannot find -lmysqlclient,转载请注明来源!