I have installed erlang 27.0 and the corresponding elixir 1.17.2-otp-27. However, when I try to fetch dependency explorer ~>0.9.0, I am getting a message about “copying NIF from cache and extracting to …” but it ends in “illegal instruction”. I am guessing that the message originates from erlang (?) which would point to a mismatch of versions.
Irrespectively of whether my hunch is correct or not, how do we go about installing explorer in a similar setting?
There is no stacktrace, this is all I am getting when it comes to installing explorer:
==> explorer
Compiling 29 files (.ex)
17:58:24.462 [debug] Copying NIF from cache and extracting to /home/[something something]/_build/dev/lib/explorer/priv/native/libexplorer-v0.9.0-nif-2.15-x86_64-unknown-linux-gnu.so
Illegal instruction
Sorry to hear. It seems there is something on your machine that is incompatible with our prebuilt cache. I wonder if this can be caused by gcc/clang version but I am not sure if that impacts Rust projects too.