cacti-spine安装报错解决
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cacti-spine安装报错解决相关的知识,希望对你有一定的参考价值。
如果报以下错误
checkingwhether we are using Linux Capabilities... no
configure:error: Cannot find mysql headers. Use--with-mysql= to specify non-default path.
需安装mysql-devel
[[email protected]/]# yum -y install mysql-devel
如果报以下错
checkingfor mysql_thread_init in -lmysqlclient_r... yes
configure:error: Cannot find SNMP headers. Use--with-snmp= to specify non-default path.
安装net-snmp-devel
[[email protected]/]# yum install -y net-snmp-devel
初始化报错
/usr/local/spine/bin/spine:error while loading shared libraries: libmysqlclient_r.so.18: cannot openshared object file: No such file or directory
做个软链接,问题解决
ln -s/usr/local/mysql/lib/libmysqlclient.so.18 /usr/lib
以上是关于cacti-spine安装报错解决的主要内容,如果未能解决你的问题,请参考以下文章