Open
Description
Very cool project @wojtekmach !
I tried it on a mac and got the below error, thought I'd leave a note here .. maybe it'll be helpful.
On my machine libcrypto is at /Users/mrinal/.homebrew/opt/openssl@1.1/lib/libcrypto.1.1.dylib
and not at /usr/local/opt/openssl@1.1/lib/libcrypto.1.1.dylib
» curl --fail -L -o elixir-run https://github.com/wojtekmach/elixir-run/raw/main/bin/elixir-run-macos-x86_64
» chmod u+x elixir-run
» ./elixir-run version
=ERROR REPORT==== 8-Jul-2021::22:57:58.772985 ===
Unable to load crypto library. Failed with error:
"load_failed, Failed to load NIF library: 'dlopen(/Users/mrinal/Library/Caches/Bakeware/49C6B246FEDE58B13D5D9D7F5056C0B66922E96E/lib/crypto-5.0.2/priv/lib/crypto.so, 2): Library not loaded: /usr/local/opt/openssl@1.1/lib/libcrypto.1.1.dylib
Referenced from: /Users/mrinal/Library/Caches/Bakeware/49C6B246FEDE58B13D5D9D7F5056C0B66922E96E/lib/crypto-5.0.2/priv/lib/crypto.so
Reason: image not found'"
OpenSSL might not be installed on this system.
=SUPERVISOR REPORT==== 8-Jul-2021::22:57:58.773260 ===
supervisor: {local,kernel_sup}
errorContext: start_error
reason: {on_load_function_failed,crypto}
offender: [{pid,undefined},
{id,kernel_safe_sup},
{mfargs,{supervisor,start_link,
[{local,kernel_safe_sup},kernel,safe]}},
{restart_type,permanent},
{significant,false},
{shutdown,infinity},
{child_type,supervisor}]
=CRASH REPORT==== 8-Jul-2021::22:57:58.775023 ===
crasher:
initial call: supervisor:kernel/1
pid: <0.954.0>
registered_name: []
exception exit: {on_load_function_failed,crypto}
in function init:run_on_load_handlers/0
in call from kernel:init/1 (kernel.erl, line 189)
in call from supervisor:init/1 (supervisor.erl, line 330)
in call from gen_server:init_it/2 (gen_server.erl, line 423)
in call from gen_server:init_it/6 (gen_server.erl, line 390)
ancestors: [kernel_sup,<0.935.0>]
message_queue_len: 0
messages: []
links: [<0.937.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 376
stack_size: 29
reductions: 228
neighbours:
=CRASH REPORT==== 8-Jul-2021::22:57:59.774830 ===
crasher:
initial call: application_master:init/4
pid: <0.934.0>
registered_name: []
exception exit: {{shutdown,
{failed_to_start_child,kernel_safe_sup,
{on_load_function_failed,crypto}}},
{kernel,start,[normal,[]]}}
in function application_master:init/4 (application_master.erl, line 142)
ancestors: [<0.933.0>]
message_queue_len: 1
messages: [{'EXIT',<0.935.0>,normal}]
links: [<0.933.0>,<0.932.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 610
stack_size: 29
reductions: 166
neighbours:
=INFO REPORT==== 8-Jul-2021::22:57:59.777073 ===
application: kernel
exited: {{shutdown,
{failed_to_start_child,kernel_safe_sup,
{on_load_function_failed,crypto}}},
{kernel,start,[normal,[]]}}
type: permanent
{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,crypto}}},{kernel,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,crypto}}},{kernel,start,[normal,[]]}}})
Crash dump is being written to: erl_crash.dump...done
Metadata
Metadata
Assignees
Labels
No labels