ejabberd - Comments for "Failed to load NIF library /lib/ejabberd/priv/lib/p1_yaml: &amp;#039;libyaml-0.so.2&amp;quot;" https://www.ejabberd.im/node/15418 en I solved it running the https://www.ejabberd.im/node/15418#comment-62005 <p>I solved it running the installation process all over again (including dependencies). Not sure yet why this was happening. </p> <p>@borjagvo</p> Wed, 27 Nov 2013 16:06:40 +0000 biguel123 comment 62005 at https://www.ejabberd.im this is because ejabberd https://www.ejabberd.im/node/15418#comment-61945 <p>this is because ejabberd cannot find the file libyaml-0.so.2, just copy this file to some place that ejabberd can visit (ubuntu ex: /lib/x86_64/-linux-gnu/libyaml-0.so.2). it is better to solve this by set some environment variables, tell me if you find how to do this. thank you!</p> Sat, 23 Nov 2013 02:30:15 +0000 marts comment 61945 at https://www.ejabberd.im Experiencing exactly the same https://www.ejabberd.im/node/15418#comment-61895 <p>Experiencing exactly the same problem. Were you able to solve it?</p> Mon, 18 Nov 2013 23:23:11 +0000 rbl comment 61895 at https://www.ejabberd.im [root@ip-10-73-151-51 ~]# https://www.ejabberd.im/node/15418#comment-61841 <div class="codeblock"><code>[root@ip-10-73-151-51 ~]# find / -name p1_yaml.so -exec ls -l &#039;{}&#039; \;<br />-rwxrwxrwx. 1 root root 32832 Nov&nbsp; 6 10:28 /lib/ejabberd/priv/lib/p1_yaml.so<br />-rwxrwxrwx. 1 root root 32824 Oct 18 12:24 /tmp/ejabberd-13.10/deps/p1_yaml/priv/lib/p1_yaml.so<br />-rwxrwxrwx. 1 root root 32808 Oct 18 12:44 /tmp/p1_yaml/priv/lib/p1_yaml.so<br />-rwxrwxrwx. 1 root root 32832 Nov&nbsp; 6 10:26 /usr/src/ejabberd-13.10/deps/p1_yaml/priv/lib/p1_yaml.so<br />[root@ip-10-73-151-51 ~]# ldd /lib/ejabberd/priv/lib/p1_yaml.so<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linux-vdso.so.1 =&gt;&nbsp; (0x00007fff337ff000)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libyaml-0.so.2 =&gt; not found<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libc.so.6 =&gt; /lib64/libc.so.6 (0x00007fdc06196000)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /lib64/ld-linux-x86-64.so.2 (0x00007fdc06735000)<br />[root@ip-10-73-151-51 ~]# ldd /tmp/ejabberd-13.10/deps/p1_yaml/priv/lib/p1_yaml.so<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linux-vdso.so.1 =&gt;&nbsp; (0x00007fff949ff000)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libyaml-0.so.2 =&gt; not found<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libc.so.6 =&gt; /lib64/libc.so.6 (0x00007fea9837d000)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /lib64/ld-linux-x86-64.so.2 (0x00007fea9891c000)<br />[root@ip-10-73-151-51 ~]# ldd /tmp/p1_yaml/priv/lib/p1_yaml.so<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linux-vdso.so.1 =&gt;&nbsp; (0x00007fffaa10b000)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libyaml-0.so.2 =&gt; not found<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libc.so.6 =&gt; /lib64/libc.so.6 (0x00007fa8c5e54000)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /lib64/ld-linux-x86-64.so.2 (0x00007fa8c63f3000)<br />[root@ip-10-73-151-51 ~]# ldd /usr/src/ejabberd-13.10/deps/p1_yaml/priv/lib/p1_yaml.so<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linux-vdso.so.1 =&gt;&nbsp; (0x00007fffb8fff000)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libyaml-0.so.2 =&gt; not found<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libc.so.6 =&gt; /lib64/libc.so.6 (0x00007f3a45a2f000)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /lib64/ld-linux-x86-64.so.2 (0x00007f3a45fce000)</code></div> <p>Is there any option at the time of compiling that I can use to tell where these library?</p> <p>Thank you.</p> Wed, 13 Nov 2013 14:44:32 +0000 biguel123 comment 61841 at https://www.ejabberd.im `ldd p1_yaml.so` will give https://www.ejabberd.im/node/15418#comment-61788 <p>`ldd p1_yaml.so` will give you more information on where the linker is trying to search for libyaml-0.so.2.</p> Fri, 08 Nov 2013 14:46:31 +0000 zinid comment 61788 at https://www.ejabberd.im