2

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.

nadim
  • 776
  • 1
  • 12
  • 26
  • I guess that you need to install the development version of all required libraries – twester Aug 22 '14 at 08:28
  • Do you know at which path ejabberd search libyaml? ro How to change Path so that ejabberd search libyaml on given PATH. – nadim Aug 22 '14 at 12:18

3 Answers3

15

I just install libyaml-dev:

$ sudo apt-get install libyaml-dev
stack247
  • 5,579
  • 4
  • 41
  • 64
2

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
Chathura Wijesinghe
  • 3,310
  • 3
  • 25
  • 41
1

You can install libyaml-devel in centos

sudo yum install libyaml-devel
raraodd
  • 111
  • 6