[erlang-questions] R14B04 and OpenSSL 1.0.1c

Bogdan Andu bog495@REDACTED
Wed May 22 09:34:18 CEST 2013


The os is OpenBSD 5.3 amd64 with preinstalled opensssl library
/usr/lib/libssl.so.19.0

$ /usr/sbin/openssl
OpenSSL> version
OpenSSL 1.0.1c 10 May 2012
OpenSSL>
^D

This is the only ssl library in the system, and erlang was configured with
this ssl library
and no complaints at ./configure time.

On the other hand:

On OpenBSD 5.2 amd64 with preinstalled opensssl library
/usr/lib/libssl.so.18.0

$ /usr/sbin/openssl
OpenSSL> version
OpenSSL 1.0.0f 4 Jan 2012
OpenSSL>
^D

everything works perfect, and Erlang was also configured againsat this
preinstalled library



On Wed, May 22, 2013 at 10:09 AM, Stanislav Sedov <stas@REDACTED> wrote:

>
> On May 22, 2013, at 12:00 AM, Bogdan Andu <bog495@REDACTED> wrote:
> >
>  /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'
> >
> > =ERROR REPORT==== 21-May-2013::15:19:12 ===
> > Unable to load crypto library. Failed with error:
> > "load_failed, Failed to load NIF library
> /usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto: 'Cannot load
> specified object'"
> > OpenSSL might not be installed on this system.
> >
> > =ERROR REPORT==== 21-May-2013::15:19:12 ===
> > The on_load function for module crypto returned {error,
> >                                                  {load_failed,
> >                                                   "Failed to load NIF
> library /usr/local/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto: 'Cannot
> load specified object'"}}
> > ** exception error: undefined function crypto:start/0
> > 2>
> >
> > 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 .
> >
> > On OpenSSL verion 1.0.0f there is no problem, only in version 1.0.1c .
> >
> > What can be done to have ssl functionality as I need it.
> >
>
> What OS is it?  Do you know where this symbol is coming from?
> I don't think it comes from Erlang -- most likely openssl and erlang was
> built agains different
> headers/libraries.
>
> --
> ST4096-RIPE
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130522/3ef3bf5b/attachment.htm>


More information about the erlang-questions mailing list