<div dir="ltr"><div><div><div><div>The os is OpenBSD 5.3 amd64 with preinstalled opensssl library /usr/lib/libssl.so.19.0<br><br>$ /usr/sbin/openssl <br>OpenSSL> version<br>OpenSSL 1.0.1c 10 May 2012<br>OpenSSL> <br>
</div>^D<br><br></div>This is the only ssl library in the system, and erlang was configured with this ssl library <br>and no complaints at ./configure time.<br><br></div>On the other hand:<br><br><div>On OpenBSD 5.2 amd64 with preinstalled opensssl library /usr/lib/libssl.so.18.0<br>
<br>$ /usr/sbin/openssl <br>OpenSSL> version<br>OpenSSL 1.0.0f 4 Jan 2012<br>OpenSSL> <br></div>^D<br><br></div>everything works perfect, and Erlang was also configured againsat this preinstalled library<br><div><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 22, 2013 at 10:09 AM, Stanislav Sedov <span dir="ltr"><<a href="mailto:stas@freebsd.org" target="_blank">stas@freebsd.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On May 22, 2013, at 12:00 AM, Bogdan Andu <<a href="mailto:bog495@gmail.com">bog495@gmail.com</a>> wrote:<br>
>                                                          /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/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/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>
>                                                  {load_failed,<br>
>                                                   "Failed to load NIF library /usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto: 'Cannot load specified object'"}}<br>
> ** exception error: undefined function crypto:start/0<br>
> 2><br>
><br>
> It seems that /usr/local/lib/erlang/erts-5.8.5/bin/beam.smp:/usr/local/lib/erlang/lib/crypto-2.0.4/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>
> On OpenSSL verion 1.0.0f there is no problem, only in version 1.0.1c .<br>
><br>
> What can be done to have ssl functionality as I need it.<br>
><br>
<br>
</div>What OS is it?  Do you know where this symbol is coming from?<br>
I don't think it comes from Erlang -- most likely openssl and erlang was built agains different<br>
headers/libraries.<br>
<br>
--<br>
ST4096-RIPE<br>
<br>
<br>
<br>
</blockquote></div><br></div>