title: Tesseract Tess4J - Native library (linux-x86-64/libtesseract.so) not found in resource path
body: <p>I'm using Tess4J and trying to call <code>tess4j.doOCR(myFile)</code> and I am getting this error</p>
  
  <pre><code>java.lang.UnsatisfiedLinkError: Unable to load library 'tesseract': Native library (linux-x86-64/libtesseract.so) not found in resource path
  </code></pre>
  
  <p><em>which are the following configurations I have in my system</em></p>
  
  <p><strong>OS version</strong>:centos 6.8
  <strong>leptonica version</strong> : leptonica-1.69
  <strong>tesseract version</strong>: tesseract-3.00</p>
  
  <p><strong>GhostScript Version:</strong></p>
  
  <p>1.command: <strong><code>gs -v</code></strong> </p>
  
  <p>I am getting  <strong>GPL Ghostscript 9.16 (2015-03-30)</strong></p>
  
  <p>2.command: <strong><code>ghostscript -v</code></strong></p>
  
  <p>I am getting  <strong>GPL Ghostscript 8.70 (2009-07-31)</strong></p>
  
  <p><strong>gcc version</strong>:gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)</p>
  
  <p>Any advice would be much appreciated.</p>