ejabberd - Comments for "Error executing post installation script" https://www.ejabberd.im/node/24889 en Hi, I tried both 15.04 and https://www.ejabberd.im/node/24889#comment-66007 <p>Hi,<br /> I tried both 15.04 and 15.07, same problem.<br /> after looking further, it seems, ejabberd looks for the libcrypto.so.1.0.0 in /usr/lib64 first, and on RH version 6.4 it finds it there, on newer versions (6.6 for example) the OS comes with libcrypto.so.1.0.1 so ejabberd cannot find libcrypto.so.1.0.0 there, and uses the one in /opt/ejabberd-xxx/lib/linux-x86_64</p> <p>I switched user to ejabberd and added to the environment:<br /> LD_PRELOAD=/opt/ejabberd/lib/linux-x86_64/libcrypto.so.1.0.0</p> <p>before running ./ejabberdctl start , and IT WORKED</p> <p>is it feasible to have this added to bin/ejabberdctl and bin/erl next to LD_LIBRARY_PATH in future releases?<br /> (maybe even after a check if /usr/lib64/libcrypto.so.1.0.0 exists..., just to be safe) </p> <p> Thanks.<br /> Barak.</p> Thu, 06 Aug 2015 16:11:56 +0000 Barak comment 66007 at https://www.ejabberd.im Which version of the https://www.ejabberd.im/node/24889#comment-66000 <p>Which version of the installer are you using ? Did you try with ejabberd 15.07 ?</p> Wed, 05 Aug 2015 08:21:37 +0000 mremond comment 66000 at https://www.ejabberd.im Hi, I have the same problem https://www.ejabberd.im/node/24889#comment-65995 <p>Hi,<br /> I have the same problem installing on RH 6.4 from binary installer.<br /> when running ldd on /opt/ejabberd/lib/crypto-3.5/priv/lib/crypto.so i can see:</p> <p>[root@myserver lib]# ldd crypto.so<br /> linux-vdso.so.1 =&gt; (0x00007fffea5ff000)<br /> libcrypto.so.1.0.0 =&gt; /usr/lib64/libcrypto.so.1.0.0 (0x00007f0e137ce000)<br /> libc.so.6 =&gt; //lib64/libc.so.6 (0x00007f0e1343a000)<br /> libdl.so.2 =&gt; //lib64/libdl.so.2 (0x00007f0e13236000)<br /> libz.so.1 =&gt; //lib64/libz.so.1 (0x00007f0e1301f000)<br /> /lib64/ld-linux-x86-64.so.2 (0x0000003170000000)</p> <p>shouldn't it use /opt/ejabberd/lib/linux-x86_64/libcrypto.so.1.0.0 ?</p> <p>is there a minimum OS version requirement when using RedHat? </p> <p>for now i fiddled with the links in /usr/lib64 and it works, but if it can be fixed to work "out of the box" it can be great !</p> <p> Thanks.</p> Tue, 04 Aug 2015 11:09:53 +0000 Barak comment 65995 at https://www.ejabberd.im Did you try with latest https://www.ejabberd.im/node/24889#comment-65924 <p>Did you try with latest installer or RPM for 15.06 ?</p> Thu, 09 Jul 2015 07:51:14 +0000 mremond comment 65924 at https://www.ejabberd.im I have the same Problem. Have https://www.ejabberd.im/node/24889#comment-65922 <p>I have the same Problem. Have you found a solution? If yes, please let me know.<br /> Thank's in advance.</p> Wed, 08 Jul 2015 10:26:18 +0000 itaticongmbh comment 65922 at https://www.ejabberd.im Hi, sorry for the late, here https://www.ejabberd.im/node/24889#comment-65594 <p>Hi, sorry for the late, here is the packages installed named "glibc".</p> <div class="codeblock"><code># rpm -qa | grep glibc<br />compat-glibc-headers-2.5-46.2.x86_64<br />glibc-2.12-1.47.el6.x86_64<br />glibc-devel-2.12-1.47.el6.x86_64<br />glibc-headers-2.12-1.47.el6.x86_64<br />glibc-2.12-1.47.el6.i686<br />glibc-common-2.12-1.47.el6.x86_64</code></div> <p>if any other information needed, please let me know, thank you!</p> Wed, 20 May 2015 09:30:48 +0000 yanqian comment 65594 at https://www.ejabberd.im as i could not reproduce, can https://www.ejabberd.im/node/24889#comment-65554 <p>as i could not reproduce, can you give me some precisions:<br /> - what version of glibc are you using ?<br /> - what difference may have your RHEL6.2 and CentOS7 (i guess some security kernel tunning, we do export LD_LIBRARY_PATH to use our embedded openssl library, and here it seems it is not used and your system provides an older one)</p> Wed, 13 May 2015 15:23:03 +0000 chris_romain comment 65554 at https://www.ejabberd.im I could not reproduce this on https://www.ejabberd.im/node/24889#comment-65552 <p>I could not reproduce this on a clean CentOS7 installation. Please note our installer includes all needed dependencies (erlang, openssl, etc...). so installed openssl on your system is not used.<br /> For now i have no clue why it's not working for you.</p> Wed, 13 May 2015 09:28:57 +0000 chris_romain comment 65552 at https://www.ejabberd.im