title: readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
body: <p>I build a program and it works well(I mean that I can run this program). But when I use "readelf" to check whether there is debug information,errors come:</p>
  
  <pre><code>readelf: Error: Not an ELF file - it has the wrong magic bytes at the start    
  readelf: Error: test/select: Failed to read file header
  </code></pre>
  
  <p>My linux distribution is Ubuntu-12. Somebody can help me?</p>