basho / basho_bench

A load-generation and testing tool for basically whatever you can write a returning Erlang function for.
Apache License 2.0
311 stars 197 forks source link

failed to build under centos 7 with R19.2 and the rpm one does not compatible with apps that have nif compiled with R19.2 [JIRA: RCS-385] #214

Open zhaohansprt opened 7 years ago

zhaohansprt commented 7 years ago

18:17:02.269 [error] The on_load function for module e2qc_nif returned {{badmatch,{error,{bad_lib,"Library version (2.11) not compatible (with 2.4)."}}},[{e2qc_nif,init,0,[{file,...},{...}]},{code_server,'-handle_on_load/4-fun-0-',1,[{...}|...]}]}

It seemed the rpm one containing some nif not compatible with app have nif compiled with R19.2

and i also can not compile it with the source under contos 7+ R19.2

WARN:  Missing plugins: [rebar_lock_deps_plugin]
WARN:  Missing plugins: [rebar_lock_deps_plugin]
==> node_package (compile)
ERROR: OTP release 19 does not match required regex R16|17|18
ERROR: compile failed while processing /mnt/hgfs/share/devtest/basho_bench/deps/node_package: rebar_abort
make: *** [compile] Error 1