Ejabberd configure: error: libyaml library was not found

7.3k Views Asked by At

I am trying to install Ejabberd by source code, But When I run make command I have found following Error.

checking for yaml_parser_initialize in -lyaml... no
checking yaml.h usability... no
checking yaml.h presence... no
checking for yaml.h... no
configure: error: libyaml library was not found
ERROR: Command ['get-deps'] failed!
make: *** [deps/.got] Error 1

I have reinstall libyaml 0.2 and other version using make and brew as well but still not solve the error. If you know another solution than guide me.

3

There are 3 best solutions below

0
On

I just install libyaml-dev:

$ sudo apt-get install libyaml-dev
1
On

I got the same issue, make and install libyaml then you will be able to compile ejabberd

cd tmp/
sudo wget http://pyyaml.org/download/libyaml/yaml-0.1.6.tar.gz
sudo tar xzvf yaml-0.1.6.tar.gz 
cd yaml-0.1.6/
sudo ./configure
sudo make
sudo make install
0
On

You can install libyaml-devel in centos

sudo yum install libyaml-devel