jayshankarnair

jayshankarnair OP

./mix
{“init terminating in do_boot”,{undef,[{elixir,start_cli,,},{init,start_em,1,},{init,do_boot,3,}]}}
init terminating in do_boot ({undef,[{elixir,start_cli,,},{init,start_em,1,},{init,do_boot,3,}]})

I download elixir with
git clone GitHub - elixir-lang/elixir: Elixir is a dynamic, functional language for building scalable and maintainable applications · GitHub in fedora 29. It has precompiled binaries of mix and elixir. I am getting below errors.
Where can i get binaries of elixir, mix that run on fedora and other distros i.e centos, redhat

Crash dump is being written to: erl_crash.dump…done

elixir -v
{“init terminating in do_boot”,{undef,[{elixir,start_cli,,},{init,start_em,1,},{init,do_boot,3,}]}}
init terminating in do_boot ({undef,[{elixir,start_cli,,},{init,start_em,1,},{init,do_boot,3,}]})
If your question is related to Phoenix or Nerves, please post it in the Phoenix or Nerves Questions / Help section. Thanks!

First 10 of 10 Posts Switch mode

NobbZ

NobbZ

The github repository does not contain precompiled binaries for anything.

Therefore it is not clear to me where your ./mix comes from.

Though each release contains precompiled binaries, which are compiled against the lowest compatible version of erlang. The precompiled for 1.11.2 are available at Release v1.11.2 · elixir-lang/elixir · GitHub

The version of erlang according to repology is OTP 20, though elixir 1.11 requires at least OTP 21 according to the compatibility page.

So you either have to upgrade your erlang or use elixir 1.9.

PS: The init terminating in do_boot is a pretty common error message for using an outdated erlang.

jayshankarnair

jayshankarnair OP

Hi Norbert,

My erlang version is 23.1 and linux fedora 29. Please send the link of elixir which i can use. I am currently using it to compile rabbitmq-3.8.9.

Thanks,
Jayshankar

NobbZ

NobbZ

I already provided a link to a prebuilt version of elixir, which should work for you if you indeed have erlang 23.1 installed.

If it does not work for you, please run which --all erl to find all installed versions of erlang, then run each of the entries with -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell as arguments.

The following script would do the equivalent for you:

for erl in $(which --all erl); do
  printf "using erlang from %s" "${erl}"
  $erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().'  -noshell
done
jayshankarnair

jayshankarnair OP

Hi Norbert,

My erlang version is 23.1 and linux fedora 29. Please send me the link of elixir which i can use. I am currently using it to compile rabbitmq-3.8.9.

I download the elixir-1.11.2. In bin directory i ran elixir -v.
I get the following error.
elixir -v
{“init terminating in do_boot”,{undef,[{elixir,start_cli,,},{init,start_em,1,},{init,do_boot,3,}]}}
init terminating in do_boot ({undef,[{elixir,start_cli,,},{init,start_em,1,},{init,do_boot,3,}]})

Thanks,
Jayshankar

jayshankarnair

jayshankarnair OP

Hi Norbert,

using erlang from /usr/local/bin/erl"23"
Please let me know which elixir package i need to download.

Thanks,
Jayshankar


NobbZ

NobbZ

That erlang version should work with the elixir I linked earlier.

jayshankarnair

jayshankarnair OP

Do i have to setup path or LD_LIBRARY_PATH or any other environment?.
I was wondering why it is giving error.

NobbZ

NobbZ

No, thats usually not necessary.

lc0815

lc0815

none of these answers work on the window system.

Now I’m trying to setup the latest version of erlang and elixir, but I keep getting the error mentioned on this thread…

any hints as to what I am doing wrong?
I have tried elixir with vsn 14.13 down to 11 where everyting works… but not the latest… and the web search does not help…

most of these messages deal wiht ancient version and unix, nothing for windows…

apoorv-2204

apoorv-2204

Version clash , of elixir , erlang and otp.

— All posts loaded —

Where Next? Top

Trending in Questions Top

stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New
jonnycharles
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
spammy
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
dli
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app? Looking for hints regarding: Addi...
New
bottlenecked
Hi all, I wanted to ask how the community is dealing with post-release steps. Today we have Ecto migrations, which make sure that the db...
New
roeland
Kia ora, We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
michallepicki
I am using Oban and occasionally, shortly after a deployment, a handful of jobs can fail because of dependency on other parts of the syst...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New

We're in Beta

About us Mission Statement