Erlang is missing crypto

Aneeq Abid aneeqabid@REDACTED
Thu Oct 15 20:39:37 CEST 2020


Hi,

I am facing the following error. OpenSSL is installed on the server. Can
someone please provide any feedback why crypto is missing?

$ erl
Erlang/OTP 17 [erts-6.0] [source] [64-bit] [smp:4:4] [async-threads:10]
[hipe] [kernel-poll:false]

Eshell V6.0  (abort with ^G)
1> crypto:start().
** exception error: undefined function crypto:start/0
2>
=ERROR REPORT==== 15-Oct-2020::23:28:36 ===
Unable to load crypto library. Failed with error:
"load_failed, Failed to load NIF library:
'/usr/local/lib/erlang/lib/crypto-3.3/priv/lib/crypto.so: undefined symbol:
HMAC_CTX_init'"
OpenSSL might not be installed on this system.

=ERROR REPORT==== 15-Oct-2020::23:28:36 ===
The on_load function for module crypto returned {error,
                                                 {load_failed,
                                                  "Failed to load NIF
library: '/usr/local/lib/erlang/lib/crypto-3.3/priv/lib/crypto.so:
undefined symbol: HMAC_CTX_init'"}}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20201015/27a49fdc/attachment.htm>


More information about the erlang-questions mailing list