首页 > 代码库 > cacti-spine安装报错解决
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
[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安装报错解决
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。