Not sure if you have already solved the issue. On non windows platforms, Tess4J tries to load a library named "tesseract". To address tthis, I created a symlink usr/local/lib/tesseract -> /usr/local/lib/libtesseract.so.3.0.4. I also added /usr/local/lib to /etc/ld.so.conf to load the library. I also set jna.library.path.
Hope this solves your issues. - viraf On Saturday, February 13, 2016 at 4:46:05 AM UTC-5, Юлия Б wrote: > > Hi again. Have you fixed this error? > > среда, 10 февраля 2016 г., 15:31:00 UTC+2 пользователь igor ognjanovic > написал: >> >> >> 0down votefavorite >> <http://stackoverflow.com/questions/35293295/tess4j-on-oracle-enterpirse-linux-native-library-linux-x86-64-libtesseract-so#> >> >> I have problems during configuration and operation of the tess4j Oracle >> Enterprise Linux. >> >> I installed tesseract3.04 and leptonica 1.71 . Tesseract I installed >> that I download a .tarfile unpacked and do >> >> ./configure >> make >> make install >> # tesseract -v >> tesseract 3.04.00 >> leptonica-1.71 >> >> When I run the application in netbeans receive the following error : >> >> java.lang.UnsatisfiedLinkError : Unable to load library ' tesseract ': >> Native library ( linux - x86 / libtesseract.so )... >> >> i copy libteseract.co in /tmp/tess4j/linux-x86 When i set Property >> jna.library.path to usr/local/lib I tried to export LD_LIBRARY_PATH than >> again I have the same error. >> > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/c8a990a0-480b-404e-8367-2029adafeba7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

