Dynamically Linked Programs with Binfmt_misc

Today’s @risc_v Tip:

If cross-compiling a dynamically linked program, then executing using binfmt_misc, you’ll need to both:

  • Inform the OS where the dynamic linker resides (or invoke directly)
  • Inform dynamic linker where other shared libraries reside (LD_LIBRARY_PATH)

22-07-03

Original Tweet