AdamO
1
I tried to install Elixir on an AWS EC2 Linux instance but I can’t seem to install it. I followed the steps shown here: https://gist.github.com/mike-north/cbaf06acb75e7a605f757df1036feff7
I compiled and installed Erland and then compiled Elixir, but I couldn’t install it as it gave me the following error:
/usr/bin/env: escript: No such file or directory
make: *** [erlang] Error 127
I checked the PATH and escript’s and erl’s path (/usr/local/bin) were there.
does anybody have any idea what the problem is?
Thanks!
NobbZ
2
What was the last command you entered before getting that error?
NobbZ
4
So please check if escript
is in root
s PATH
as well:
which escript
sudo which escript
sudo sh -c 'echo $PATH'
If the correct path is not in the last output line, you’ll need adjust root
s PATH
accordingly (or put a symlink).
1 Like
AdamO
6
Thank you. I put a symlink for escript and a symlink for erl in /usr/bin and it solved my problem and Elixir installed gracefully.
1 Like