<div dir="ltr"><br><div>We in Flussonic have our own hardware video transcoder right now and it is using our erlang-based flussonic on intel  server and on arm nodes.</div><div><br></div><div>ARM node mounts nfs root from master server.</div><div><br></div><div>Right now I'm changing erlang installation so that we can use same folder from intel and from arm.</div><div><br></div><div>It happened that almost all erlang  nifs are ready for this: they are trying to load so from  system_arch subfolder. Looks like I'm not the first for this idea!</div><div><br></div><div><br></div><div>However it was a bit tricky to move binary files. Right now I've ended up with multiarch.sh loader:</div><div><br></div><div>#!/bin/sh<br>ARCH=`uname -i`<br>APP=`basename $0`<br><br>exec /usr/lib/erlang/bin/${ARCH}-linux-gnu/${APP} $*<br></div><div><br></div><div>Also I have to patch crypto compilation Makefile in runtime:</div><div><br></div><div>RUN sed -i'' 's|SSL_LIBDIR = /usr/lib|SSL_LIBDIR = /usr/lib/aarch64-linux-gnu|' lib/crypto/c_src/aarch64-unknown-linux-gnu/Makefile<br></div><div><br></div><div> </div><div>Has anybody  else done such things?</div></div>