Steps to replicate problem:
- install raspbian lite on a rasberry pi 3 model b+
- install latest version of elixir using the method described here: https://elixir-lang.org/install.html#raspberry-pi
- Start iex and execute “import Calendar.ISO”
Expected result is that elixir imports this library.
What I get instead is an error.
[error] Loading of /usr/lib/elixir/bin…/lib/elixir/ebin/Elixir.Calendar.ISO.beam failed: :badfile
[error] bean/beam_load.c(2314): Error loading function ‘Elixir.Calendar.ISO’:from_unix/2: op i_plus q x p x: no specific operation found
What I’ve tried so far: reinstalled my rasberry completely (I first had a full raspbian installation, changed to lite version), use an older elixir version. Reason I noticed this problem is that phoenix tries to import Calendar.ISO hen compiling. Currently using elixir 1.8.1, erlang/OTP 22 (erts-10.41).