(myapp@User)1> bcrypt:start().
{error,
{{shutdown,
{failed_to_start_child,bcrypt_nif_worker,
{undef,
[{bcrypt_nif,create_ctx,[],[]},
{bcrypt_nif_worker,init,1,
[{file,"src/bcrypt_nif_worker.erl"},{line,31}]},
{gen_server,init_it,6,[{file,"gen_server.erl"},{line,306}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,237}]}]}}},
{bcrypt_app,start,[normal,[]]}}}
(myapp@User)2> 13:30:38.995 [error] The on_load function for module bcrypt_nif returned {error,{load_failed,"Failed to load NIF library ./deps/bcrypt/priv/bcrypt_nif: 'Belirtilen modül bulunamadý.'"}}
13:30:38.995 [error] CRASH REPORT Process <0.306.0> with 0 neighbours exited with reason: call to undefined function bcrypt_nif:create_ctx() in gen_server:init_it/6 line 330
13:30:38.995 [error] Supervisor bcrypt_sup had child bcrypt_nif_worker started with bcrypt_nif_worker:start_link() at undefined exit with reason call to undefined function bcrypt_nif:create_ctx() in context start_error
13:30:38.996 [error] CRASH REPORT Process <0.303.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,bcrypt_nif_worker,{undef,[{bcrypt_nif,create_ctx,[],[]},{bcrypt_nif_worker,init,1,[{file,"src/bcrypt_nif_worker.erl"},{line,31}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,306}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}}},{bcrypt_app,start,[normal,[]]}} in application_master:init/4 line 133
13:30:38.996 [info] Application bcrypt exited with reason: {{shutdown,{failed_to_start_child,bcrypt_nif_worker,{undef,[{bcrypt_nif,create_ctx,[],[]},{bcrypt_nif_worker,init,1,[{file,"src/bcrypt_nif_worker.erl"},{line,31}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,306}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}}},{bcrypt_app,start,[normal,[]]}}
I have bcrypt_nif.so and bcrypt in priv and all beam files shows bcrypt compiled well.
But i can not get it working. Anyone else faced this issue before?