<br><br>The OS is OpenBSD 5.3 amd64 with OpenSSL version 1.0.1c.<br><br>On OpenBSD 5.2 amd64 with OpenSSL version 1.0.0f everything work fine.<br><br>Openssl 1.0.1f came preinstalled with the OS, and this is the only openssl library in the system.<br><br>Erlang was built against this library that came with the OS.<br><br>On Wednesday, May 22, 2013 10:00:12 AM UTC+3, Bogdan Andu wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div><div><div><div><div><div>Hello,<br><br></div>I recently compiled otp_src_R14B04 with OpenSSL version 1.0.1c.<br><br></div>It is detected ok, but when I try to start crypto app I get the follwing error:<br>
<br>Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:0] [kernel-poll:false]<br><br>Eshell V5.8.5 (abort with ^G)<br>1> crypto:start().<br>/usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br> <wbr> <wbr> <wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br> <wbr> <wbr> <wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br> <wbr> <wbr> <wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
/usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br> <wbr> <wbr> <wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
/usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br> <wbr> <wbr> <wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> <wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> <wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<wbr> <wbr> <wbr> /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so: undefined symbol '__guard_local'<br>
<br>=ERROR REPORT==== 21-May-2013::15:19:12 ===<br>Unable to load crypto library. Failed with error:<br>"load_failed, Failed to load NIF library /usr/local/lib/erlang/lib/<wbr>crypto-2.0.4/priv/lib/crypto: 'Cannot load specified object'"<br>
OpenSSL might not be installed on this system.<br><br>=ERROR REPORT==== 21-May-2013::15:19:12 ===<br>The on_load function for module crypto returned {error,<br> <wbr> {load_failed,<br>
<wbr> "Failed to load NIF library /usr/local/lib/erlang/lib/<wbr>crypto-2.0.4/priv/lib/crypto: 'Cannot load specified object'"}}<br>** exception error: undefined function crypto:start/0<br>
2> <br><br></div>It seems that /usr/local/lib/erlang/erts-5.<wbr>8.5/bin/beam.smp:/usr/local/<wbr>lib/erlang/lib/crypto-2.0.4/<wbr>priv/lib/crypto.so library tries to access the symbol '__guard_local' that no longer seems to exists in libssl.so.19.0 .<br>
<br></div><div>On OpenSSL verion 1.0.0f there is no problem, only in version 1.0.1c .<br></div><div><br></div>What can be done to have ssl functionality as I need it.<br><br></div>Thank you in advanced,<br><br></div>Bogdan<br>
<br></div>
</blockquote>