在编译jabberd时出现不能找到mysql client libraries
1. 在编译jabberd时出现不能找到mysql client libraries:具体内容:
checking for mysql_init in -lmysqlclient… no
configure: error: MySQL client libraries not found
AS4-up1环境,mysql采用自带rpm包安装.
解决办法:在./configure前运行
checking for mysql_init in -lmysqlclient… no
configure: error: MySQL client libraries not found
AS4-up1环境,mysql采用自带rpm包安装.
解决办法:在./configure前运行
QUOTE:
export LDFLAGS=”-L/usr/local/lib -L/usr/lib/mysql”
(此处mysql路径根据安装情况修改)
2. sm died错误
/usr/local/bin/jabberd
ERROR: sm died. Shutting down server.
解决办法是运行一下./sm

