NIF version mismatch 2.15, 2.16
lud-wj opened this issue · 1 comments
lud-wj commented
Hello,
I have this error In my CI:
{:error,
{:load_failed,
~c"Failed to load NIF library: '/home/circleci/myapp-build-dir/_build/test/lib/meeseeks_html5ever/priv/native/libmeeseeks_html5ever_nif-v0.14.3-nif-2.16-x86_64-unknown-linux-gnu.so: cannot open shared object file: No such file or directory'"}}
I see the github release only defines nif-2.15 binaries. Is there something I can configure on my side to use those ?
The current nif version seems to be 2.17:
iex(1)> :erlang.system_info :nif_version
~c"2.17"
I guess 2.16 is compatble, but maybe 2.15 is not, so that is why it does not try to download 2.15?
Thank you.
lud-wj commented
Ok so I found the problem.
If meeseeks only releases nif-2.15 binaries, it should configure the :nif_versions
options to use RustlerPrecompiled
with ["2.15"]
.
But that would not be enough, because RustlerPrecompiled would still select the 2.16 nif version (cf. philss/rustler_precompiled#67 )