[erlang-questions] erlzmq2 as rebar3 depency

Nyirő Gergő gergo.nyiro@REDACTED
Mon Apr 29 21:04:51 CEST 2019


Dear List,

I would like to setup an example project which uses zmq rep/req.
I would prefer rebar3 as project management tool however I'm stucked
with the following error in rebar3 shell:

1> erlzmq:context().
** exception error: undefined function erlzmq_nif:context/1

I refers to erlzmq2 in the rebar.config like this:

{deps, [{erlzmq, {git, "https://github.com/zeromq/erlzmq2.git"}}]}.

When I use directly the erlzmq2 repository, then the `erlzmq:context()`
call succeed.
Should I add the port_specs, port_env and pre_hooks options of the
https://github.com/zeromq/erlzmq2/blob/master/rebar.config directly
into my rebar.config, too?

Any help or advice are welcome.

--
Gergő



More information about the erlang-questions mailing list