码迷,mamicode.com
首页 > 其他好文 > 详细

cacti-spine安装报错解决

时间:2017-07-25 01:02:54      阅读:265      评论:0      收藏:0      [点我收藏+]

标签:cacti

如果报以下错误

checkingwhether we are using Linux Capabilities... no

configure:error: Cannot find MySQL headers.  Use--with-mysql= to specify non-default path.

需安装mysql-devel

[root@lamp/]# 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

[root@lamp/]# 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安装报错解决

标签:cacti

原文地址:http://3774912.blog.51cto.com/3764912/1950511

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!