On Saturday, February 13, 2016 at 10:46:05 AM UTC+1, Юлия Б 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. >> >
Hello. I solved the problem I installed the 32bit tesseract from epel repository . but now I have a problem when start tess4j : ERROR net.sourceforge.tess4j.Tesseract - Invalid calling convention 63 java.lang.IllegalArgumentException: Invalid calling convention 63 at com.sun.jna.Native.createNativeCallback(Native Method) ~[jna.jar:4.2.1 (b0)] at com.sun.jna.CallbackReference.<init>(CallbackReference.java:239) ~[jna.jar:4.2.1 (b0)] at com.sun.jna.CallbackReference.getFunctionPointer(CallbackReference.java:413) ~[jna.jar:4.2.1 (b0)] at com.sun.jna.CallbackReference.getFunctionPointer(CallbackReference.java:395) ~[jna.jar:4.2.1 (b0)] at com.sun.jna.Function.convertArgument(Function.java:541) ~[jna.jar:4.2.1 (b0)] at com.sun.jna.Function.invoke(Function.java:305) ~[jna.jar:4.2.1 (b0)] at com.sun.jna.Library$Handler.invoke(Library.java:236) ~[jna.jar:4.2.1 (b0)] at com.sun.proxy.$Proxy1.gsapi_set_stdio(Unknown Source) ~[na:na] at org.ghost4j.Ghostscript.initialize(Ghostscript.java:323) ~[ghost4j-1.0.0.jar:na] at net.sourceforge.tess4j.util.PdfUtilities.convertPdf2Png(PdfUtilities.java:109) ~[classes/:na] at net.sourceforge.tess4j.Tesseract.createDocuments(Tesseract.java:535) ~[classes/:na] at OCRScanner.main(OCRScanner.java:51) [classes/:na] -- 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/7c8e53bb-2904-4ae7-94fd-de43497793ae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

