安装ejabberd的时候出现:
1、configure: error: Could not find development files of libyaml library
解决: ubuntu: sudo apt-get install libyaml-dev
2、configure: error: Could not find development files of Expat library
解决: ubuntu: sudo apt-get install libexpat-dev
可能还会报关于ssl的错。
总结:
安装ejabberd之前,先安装这些库。
git clone https://github.com/processone/ejabberd
apt-get install libyaml-dev
apt-get install libexpat-dev
apt-get install openssl
apt-get install libssl-dev
apt-get install libgd-dev
apt-get install libwebp-dev
来源:oschina
链接:https://my.oschina.net/u/167181/blog/528008