title: ld hidden symbol 'fstat64' in /usr/lib/libc_nonshared.a(fstat64.oS) is referenced by DSO
body: <p>I am attempting to compile a bit of code have been presented with an error I am unsure how to deal with.</p>
  
  <pre><code>/usr/bin/ld: nmtest: hidden symbol `fstat64' in /usr/lib/libc_nonshared.a(fstat64.oS) is referenced by DSO
  </code></pre>
  
  <p>From what I have been researching it appears <code>fstat64</code> has not been exported as a symbol that can be called externally. My problem however is the library I am using has fstat64 called numerous times and I cannot edit the library to remove the call.</p>
  
  <p>Does anyone have any ideas as to a possible work around for this error.</p>