[erlang-questions] R14B04 and OpenSSL 1.0.1c
Bogdan Andu
bog495@REDACTED
Wed May 22 09:00:12 CEST 2013
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/3081bb26/attachment.htm>
More information about the erlang-questions
mailing list