[error] The on_load function for module bcrypt_nif returned {:error,
{:load_failed, 'Failed to load NIF library: \'/opt/proj/db/proj_db/_build/test/lib/bcrypt/priv/bcrypt_nif.so: cannot open shared object file: No such file or directory\''}}
defmodule ProjectDb.Mixfile do use Mix.Project
def project do [app: :project_db, version: "0.0.1", elixir: "~> 0.15.0", deps: deps] end
def application do [applications: [:logger, :crypto, :bcrypt]] end
defp deps do [ {:ecto, github: "elixir-lang/ecto"}, {:poolboy, github: "devinus/poolboy", override: true}, {:postgrex, github: "ericmj/postgrex", override: true}, {:bcrypt, github: "smarkets/erlang-bcrypt"} ] endend$ mix deps.compile
Compiled src/bcrypt_port_sup.erl
Compiled src/bcrypt_sup.erl
Compiled src/bcrypt_port.erl
Compiled src/bcrypt_nif.erl
Compiled src/bcrypt_nif_worker.erl
Compiled src/bcrypt_app.erl
Compiled src/bcrypt.erl
Compiled src/bcrypt_pool.erl
Compiling c_src/async_queue.c
Compiling c_src/bcrypt.c
Compiling c_src/bcrypt_nif.c
Compiling c_src/bcrypt_port.c
Compiling c_src/blowfish.c
--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# This line might already be there in your config file, so you can skip this
use Mix.Config
# Use port mechanism. Pool size is the number of workers it'll use.
config :bcrypt, [mechanism: :port, pool_size: 4]--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-talk/FKbARTmC9Yw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-ta...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
def application do [applications: [:logger, :crypto, :bcrypt]]end
defp deps do [ {:ecto, github: "elixir-lang/ecto"}, {:poolboy, github: "devinus/poolboy", override: true}, {:postgrex, github: "ericmj/postgrex", override: true}, {:bcrypt, github: "jwilberding/erlang-bcrypt", override: true} ]endconfig :bcrypt, [mechanism: :port, pool_size: 4]