Environment
What to run
mix phoenix.new --no-brunch phoenix_trello
Current behavior
06:53:45.220 [error] Unable to load crypto library. Failed with error:
":load_failed, Failed to load NIF library /usr/lib/erlang/lib/crypto-4.3/priv/lib/crypto: 'libcrypto.so.1.0.0: cannot open shared object file: No such file or directory'"
OpenSSL might not be installed on this system.
06:53:45.386 [warn] The on_load function for module crypto returned:
{:error, {:load_failed, 'Failed to load NIF library /usr/lib/erlang/lib/crypto-4.3/priv/lib/crypto: 'libcrypto.so.1.0.0: 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)
lib/mix/tasks/phoenix.new.ex:484: Mix.Tasks.Phoenix.New.random_string/1
lib/mix/tasks/phoenix.new.ex:223: Mix.Tasks.Phoenix.New.run/4
(mix) lib/mix/task.ex:314: Mix.Task.run_task/3
(mix) lib/mix/cli.ex:80: Mix.CLI.run_task/2
Expected behavior
To make a directory of phoenix_trello
Environment
Elixir & Erlang/OTP versions (elixir --version):
Operating system:
kali Linux
What to run
Current behavior
OpenSSL might not be installed on this system.
06:53:45.386 [warn] The on_load function for module crypto returned:
{:error, {:load_failed, 'Failed to load NIF library /usr/lib/erlang/lib/crypto-4.3/priv/lib/crypto: 'libcrypto.so.1.0.0: 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)
lib/mix/tasks/phoenix.new.ex:484: Mix.Tasks.Phoenix.New.random_string/1
lib/mix/tasks/phoenix.new.ex:223: Mix.Tasks.Phoenix.New.run/4
(mix) lib/mix/task.ex:314: Mix.Task.run_task/3
(mix) lib/mix/cli.ex:80: Mix.CLI.run_task/2
Expected behavior