I\'ve had tesseract and Tess4J running on my MBP for a while now. Today I started to migrate my app to the server and started installing everything on the server. Prior to r
Maybe it is a 32 bit library .so
installed.
I had this problem too.
Did you run the following after installing tesseract:
sudo ldconfig
That fixed it for me.
It is necessary to define the variable jna.platform.library.path
. For instance:
-Djna.platform.library.path=/usr/local/lib/
You must set LD_LIBRARY_PATH environment variable to the path where libtesseract.so is.
export LD_LIBRARY_PATH=/usr/local/lib