title: cannot open /lib/ld-linux-aarch64.so.1 in qemu or gem5
body: <p>I am trying to simulate a simple Hello world ARM example on my desktop computer. I tried both qemu and gem5. Both gives a similar error. They cannot find <code>ld-linux-aarch64.so.1</code>. Actually I cannot find it either. If I could find it, I will show it with -L (in qemu) or --redirects (in gem5).</p>
  <p>The file is:</p>
  <pre><code>armhello: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=23a21b7a545ac510923b6b3713d2bbee092f820a, for GNU/Linux 3.7.0, not stripped
  </code></pre>
  <p>It is compiled with: <code>aarch64-linux-gnu-gcc</code></p>
  <p>I am trying to run it in qemu with:</p>
  <pre><code>qemu-aarch64 armhello
  </code></pre>
  <p>I got this error:</p>
  <pre><code>/lib/ld-linux-aarch64.so.1: No such file or directory
  </code></pre>
  <p>I try to run it in gem5 with: (simpleARM.py points to my executable (named as armhello))</p>
  <pre><code>build/ARM/gem5.opt configs/tutorial/simpleARM.py
  </code></pre>
  <p>I got this error:</p>
  <pre><code>panic: panic condition fd &lt; 0 occurred: Failed to open file /lib/ld-linux-aarch64.so.1.
  </code></pre>
  <p>How can I solve this?</p>
  <p>Note: I know it works when compiled --static. But I need to run more complex binaries that are dynamically linked and I cannot change those. This is just an example.</p>