title: Tesseract: UnsatisfiedLinkError - undefined symbol: TessBaseAPICreate
body: <p>I'm getting the following error when I tired to run <a href="http://tess4j.sourceforge.net/codesample.html" rel="nofollow">Tess4j sample program</a>.</p>
  
  <pre><code>Exception in thread "main" java.lang.UnsatisfiedLinkError: Error looking up function 'TessBaseAPICreate': /usr/local/lib/libtesseract.so: undefined symbol: TessBaseAPICreate
      at com.sun.jna.Function.&lt;init&gt;(Function.java:179)
      at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:350)
      at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:330)
      at com.sun.jna.Library$Handler.invoke(Library.java:203)
      at $Proxy0.TessBaseAPICreate(Unknown Source)
      at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:253)
      at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:220)
      at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:166)
      at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:151)
      at Test.main(Test.java:12)
  Java Result: 1
  </code></pre>
  
  <p>I'm using Redhat Linux 32 bit.</p>