Skip to content

Instantly share code, notes, and snippets.

@mutablestate
Last active August 29, 2015 14:13
Show Gist options
  • Select an option

  • Save mutablestate/fb027b85572eb770cfdf to your computer and use it in GitHub Desktop.

Select an option

Save mutablestate/fb027b85572eb770cfdf to your computer and use it in GitHub Desktop.
Comeonin compile error with OTP 17.1
==> comeonin
make: Nothing to be done for `priv/bcrypt_nif.so'.
Compiled lib/comeonin.ex
== Compilation error on file lib/comeonin/bcrypt.ex ==
23:08:33.076 [error] Error in process <0.271.0> with exit value: {{badmatch,{error,{bad_lib,"Library version (2.7) not compatible (with 2.6)."}}},[{'Elixir.Comeonin.Bcrypt',init,0,[{file,"lib/comeonin/bcrypt.ex"},{line,22}]},{code_server,'-handle_on_load/4-fun-0-',1,[{file,"code_serv...
** (MatchError) no match of right hand side value: {:error, :on_load_failure}
(stdlib) erl_eval.erl:657: :erl_eval.do_apply/6
could not compile dependency comeonin, mix compile failed. You can recompile this dependency with `mix deps.compile comeonin` or update it with `mix deps.update comeonin`
23:08:33.083 [error] The on_load function for module Elixir.Comeonin.Bcrypt returned {{:badmatch,
{:error, {:bad_lib, 'Library version (2.7) not compatible (with 2.6).'}}},
[{Comeonin.Bcrypt, :init, 0, [file: 'lib/comeonin/bcrypt.ex', line: 22]},
{:code_server, :"-handle_on_load/4-fun-0-", 1,
[file: 'code_server.erl', line: 1659]}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment