[error] Unable to load crypto library. Failed with error #87

Open
opened 2022-11-26 00:18:22 +00:00 by Bobbi · 1 comment
Member

get an error when running the config generator and after getting to the hostname part:

[error] Unable to load crypto library. Failed with error:
":load_failed, Failed to load NIF library /opt/pleroma/lib/crypto-4.6.5.4/priv/lib/crypto: 'libcrypto.so.1.1: cannot open shared object file: No such file or directory'"
OpenSSL might not be installed on this system.

when i install openssl, its says its already installed, i run ubuntu 20.04 on a vps. how would i fix this? thanks!

get an error when running the config generator and after getting to the hostname part: [error] Unable to load crypto library. Failed with error: ":load_failed, Failed to load NIF library /opt/pleroma/lib/crypto-4.6.5.4/priv/lib/crypto: 'libcrypto.so.1.1: cannot open shared object file: No such file or directory'" OpenSSL might not be installed on this system. when i install openssl, its says its already installed, i run ubuntu 20.04 on a vps. how would i fix this? thanks!
Author
Member

forgot to include the rest of the error:

00:16:14.401 [warn] The on_load function for module crypto returned:
{:error, {:load_failed, 'Failed to load NIF library /opt/pleroma/lib/crypto-4.6.5.4/priv/lib/crypto: 'libcrypto.so.1.1: cannot open shared object file: No such file or directory''}}

** (UndefinedFunctionError) function :crypto.strong_rand_bytes/1 is undefined (module :crypto is not available)
:crypto.strong_rand_bytes(64)
(pleroma 2.4.4) lib/mix/tasks/pleroma/instance.ex:118: Mix.Tasks.Pleroma.Instance.run/1
(stdlib 3.12.1.2) erl_eval.erl:680: :erl_eval.do_apply/6
(elixir 1.10.4) lib/code.ex:341: Code.eval_string_with_error_handling/3

forgot to include the rest of the error: 00:16:14.401 [warn] The on_load function for module crypto returned: {:error, {:load_failed, 'Failed to load NIF library /opt/pleroma/lib/crypto-4.6.5.4/priv/lib/crypto: \'libcrypto.so.1.1: cannot open shared object file: No such file or directory\''}} ** (UndefinedFunctionError) function :crypto.strong_rand_bytes/1 is undefined (module :crypto is not available) :crypto.strong_rand_bytes(64) (pleroma 2.4.4) lib/mix/tasks/pleroma/instance.ex:118: Mix.Tasks.Pleroma.Instance.run/1 (stdlib 3.12.1.2) erl_eval.erl:680: :erl_eval.do_apply/6 (elixir 1.10.4) lib/code.ex:341: Code.eval_string_with_error_handling/3
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-support#87
No description provided.