[erlang-questions] R14B04 and OpenSSL 1.0.1c
bog495@REDACTED
bog495@REDACTED
Wed May 22 09:18:06 CEST 2013
The OS is OpenBSD 5.3 amd64 with OpenSSL version 1.0.1c.
On OpenBSD 5.2 amd64 with OpenSSL version 1.0.0f everything work fine.
Openssl 1.0.1f came preinstalled with the OS, and this is the only openssl
library in the system.
Erlang was built against this library that came with the OS.
On Wednesday, May 22, 2013 10:00:12 AM UTC+3, Bogdan Andu wrote:
>
> Hello,
>
> I recently compiled otp_src_R14B04 with OpenSSL version 1.0.1c.
>
> It is detected ok, but when I try to start crypto app I get the follwing
> error:
>
> Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:2:2] [rq:2]
> [async-threads:0] [kernel-poll:false]
>
> Eshell V5.8.5 (abort with ^G)
> 1> crypto:start().
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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'
>
> /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.
>
> Thank you in advanced,
>
> Bogdan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130522/48fff6d0/attachment.htm>
More information about the erlang-questions
mailing list