• “Bad elf magic” isn’t a particularly helpful error message. (It means a shared library couldn’t be loaded because it’s corrupt, for a different kind of machine, built for a very different dynamic linker, or something along those lines.)