title: What are the typical ways to solve "invalid string offset" errors from ld?
body: <p>I am building a project and I am getting an error along the lines of</p>
  
  <pre><code>...//this_lib.so: error adding symbols: File format not recognised
  collect2: error: ld returned 1 exit status
  </code></pre>
  
  <p>above this this line is displayed </p>
  
  <p><code>...//this_lib.so: invalid string offset 1437763608 &gt;= 38801 for section '.dynstr'</code></p>
  
  <p>I am trying to fix this issue. <code>this_lib.so</code> is a lib that is built in the make process (so build by me). </p>
  
  <p>How do I debug issues like these? </p>
  
  <p>At first I thought that it could be a 32-bit lib, that is not the case. </p>