[erlang-questions] bcrypt issue -- missing library?
lloyd@REDACTED
lloyd@REDACTED
Wed Mar 28 20:38:33 CEST 2018
Hello,
I've been using [ https://github.com/ferd/erlpass ]( https://github.com/ferd/erlpass ) successfully in my code for several years.
But I recently had to recompile my system. When I then tried to run the sign-in function, which had never before given me problems, I got this error message:
(wgd@REDACTED)2> show_page: "sign-in"
=INFO REPORT==== 28-Mar-2018::14:04:16 ===
{error,postback_request,
{url,"localhost:8020/wg_members/sign-in"},
{exit,
{noproc,
{gen_server,call,
[bcrypt_nif_worker,
{hashpw,<<"lloyd">>,
"$2a$12$Hnn1TK6HyTds7Xmf326k1.OIh/OEwi9uWqHNjHVwEQw0NKVw6X5LO"},
I then checked to see if crypto was started and it was:
(wgd@REDACTED)2> application:start(crypto).
{error,{already_started,crypto}}
But application:start(bcrypt) turned up this error message:
(wgd@REDACTED)4> application:start(bcrypt).
=WARNING REPORT==== 28-Mar-2018::14:12:39 ===
The on_load function for module bcrypt_nif returned {error,
{bad_lib,
"Library version (2.11) not compatible (with 2.8)."}}
{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}]}
So now I'm stuck.
I'm running Erlang/OTP R19
Can anyone tell me how to get bcrypt or functional equivalent working again?
All the best,
LRP
*********************************************
My books:
THE GOSPEL OF ASHES
http://thegospelofashes.com
Strength is not enough. Do they have the courage
and the cunning? Can they survive long enough to
save the lives of millions?
FREEIN' PANCHO
http://freeinpancho.com
A community of misfits help a troubled boy find his way
AYA TAKEO
http://ayatakeo.com
Star-crossed love, war and power in an alternative
universe
Available through Amazon or by request from your
favorite bookstore
**********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180328/978ef087/attachment.htm>
More information about the erlang-questions
mailing list