如果報以下錯誤
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