<html><head></head><body bgcolor="#FFFFFF"><div>Did you pass --with-ssl=<path> during configure?<br><br><br></div><div><br>On 30 Apr 2012, at 18:17, Erisa Dervishi <<a href="mailto:erisa85d@gmail.com">erisa85d@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Hi all,<div><br></div><div>I have installed Erlang OTP R15, in Solaris 10 x86.</div><div>When I try to load the crypto module I get the following error:</div><div><br></div><div><div><font class="Apple-style-span" color="#990000">Erlang R15B (erts-5.9) [source] [smp:16:16] [async-threads:0] [kernel-poll:false]</font></div>
<div><font class="Apple-style-span" color="#990000"><br></font></div><div><font class="Apple-style-span" color="#990000">Eshell V5.9  (abort with ^G)</font></div><div><font class="Apple-style-span" color="#990000">1> l(crypto).</font></div>
<div><font class="Apple-style-span" color="#990000"><br></font></div><div><font class="Apple-style-span" color="#990000">=ERROR REPORT==== 30-Apr-2012::16:29:45 ===</font></div><div><font class="Apple-style-span" color="#990000">Unable to load crypto library. Failed with error:</font></div>
<div><font class="Apple-style-span" color="#990000">"load_failed, Failed to load NIF library: 'ld.so.1: beam.smp: fatal: relocation error: file /usr/local/otp_R15B/lib/erlang/lib/crypto-2.1/priv/lib/crypto.so: symbol DES_ede3_cfb_encrypt: referenced symbol not found'"</font></div>
<div><font class="Apple-style-span" color="#990000">OpenSSL might not be installed on this system.</font></div><div><font class="Apple-style-span" color="#990000">{error,on_load_failure}</font></div><div><font class="Apple-style-span" color="#990000"><br>
</font></div><div><font class="Apple-style-span" color="#990000">=ERROR REPORT==== 30-Apr-2012::16:29:45 ===</font></div><div><font class="Apple-style-span" color="#990000">The on_load function for module crypto returned {error,</font></div>
<div><font class="Apple-style-span" color="#990000">                                                 {load_failed,</font></div><div><font class="Apple-style-span" color="#990000">                                                  "Failed to load NIF library: 'ld.so.1: beam.smp: fatal: relocation error: file /usr/local/otp_R15B/lib/erlang/lib/crypto-2.1/priv/lib/crypto.so: symbol DES_ede3_cfb_encrypt: referenced symbol not found'"}}</font></div>
<div><br></div></div><div><br></div><div>OpenSSL is installed. As suggested in the Erlang documentation, I installed it from <a href="http://www.openssl.org/source/">http://www.openssl.org/source/</a> (version:<font class="Apple-style-span" face="'times new roman', serif"> </font><span class="Apple-style-span" style="white-space:pre"><font class="Apple-style-span" face="'times new roman', serif">openssl-0.9.8w.tar.gz</font><font class="Apple-style-span" face="monospace">)</font></span></div>
<div>I tried several suggestions after googling but nothing helped.</div><div>Any help to get this straight would be appreciated :)</div><div><br></div><div>Thanks,</div><div>Erisa</div><div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>erlang-questions mailing list</span><br><span><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a></span><br><span><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></span><br></div></blockquote></body></html>