Try to ask on erlang mailing list On Friday, November 20, 2015 at 1:37:47 PM UTC+2, Mert Öztürk wrote: > > Hello, > > I ve added my CB app, bcrypt from: " > https://github.com/opscode/erlang-bcrypt.git" and compile without any > errors. > When i try bcrypt:start() i get the following error; > > (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? > > Thanks > Mert > >
-- You received this message because you are subscribed to the Google Groups "ChicagoBoss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/chicagoboss. To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/fd77b972-1076-45b7-a2d2-dad0ec344b25%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
