ejabberd - Comments for "After compilation issue" https://www.ejabberd.im/node/619 en Thanks.Randoms works, and https://www.ejabberd.im/node/619#comment-1320 <p>Thanks.</p> <p>Randoms works, and it's compiled.<br /> I think the trouble will be with that "einval" error. I agree with you that it should be something with ssl but I have no idea what's wrong and how to fix it.</p> Tue, 31 Jan 2006 15:05:24 +0000 peter comment 1320 at https://www.ejabberd.im I can't help much, but maybe https://www.ejabberd.im/node/619#comment-1313 <p>I can't help much, but I'll try:</p> <pre>{undef, [{randoms,start,[]}</pre><p>means that Erlang couldn't find a function called randoms:start/0. Probably the 'randoms' library included in ejabberd was not compiled.<br /> To check if it was, look for randoms.beam. If it's available, open an Erlang shell on that directory an do this:</p> <pre>ejabberd/src$ erl Erlang (BEAM) emulator version 5.4.12 [source] [hipe] [kernel-poll] Eshell V5.4.12 (abort with ^G) 1&gt; randoms:start(). true 2&gt; q(). ok</pre><pre>error_info: {einval,[{erlang,open_port_prim, [{spawn, "c:/ERL51~1.2/lib/ssl-2.3.5.1/priv/bin/s l_esock "},</pre><p> 'einval', what does that mean? It's explained on the Erlang/OTP documentation, somewhere. ssl_sock requires OpenSSL to be properly compiled and used, maybe there was a problem with that?</p> Sun, 29 Jan 2006 16:57:21 +0000 mfoss comment 1313 at https://www.ejabberd.im