erlexec: cannot execute binary file

Can’t you install already compiled Erlang for CentOS 7 btw?