<div dir="ltr"><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px">I have a standard OTP application in which I use Rebar to generate a release. </div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px">When I tar up the appropriate release directory, I can explode it on another CentOS 6.2 machine, and it will run with no problems. But when I explode it on a CentOS 5.2 machine, it will not run giving the following output:</div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px"><br></div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px"><div>#bin/jc console</div><div>Exec: /root/test/jc/erts-6.2/bin/erlexec -boot /root/test/jc/releases/1.0.0/jc -mode embedded -config /root/test/jc/releases/1.0.0/sys.config -args_file /root/test/jc/releases/1.0.0/vm.args -- console</div><div>Root: /root/test/jc</div><div>bin/jc: line 224: /root/test/jc/erts-6.2/bin/erlexec: cannot execute binary file</div><div>bin/jc: line 224: /root/test/jc/erts-6.2/bin/erlexec: Success</div></div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px"><br></div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px">Should this work? If so, can someone share the tricks to portability.<br></div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px"><br></div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px">The version of Erlang that I build on is:</div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px">Erlang/OTP 17 [erts-6.2] [source-5c974be] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]</div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px"><br></div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px">The erl_opts in the rebar.config does <span style="font-weight:bold">not </span>include the atom native:</div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px">{erl_opts, [warn_missing_spec, {parse_transform, lager_transform}]}.</div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px"><br></div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px">Any help would be much appreciated.</div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px"><br></div><div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:16px">Jr0</div><div><br></div></div>