java.lang.UnsatisfiedLinkError: Unable to load library 'tesseract': libtesseract.so: cannot open shared object file: No such file or directory

Google Groups | abhinav mohan | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error compiling Tesseract

    Google Groups | 2 years ago | abhinav mohan
    java.lang.UnsatisfiedLinkError: Unable to load library 'tesseract': libtesseract.so: cannot open shared object file: No such file or directory
  2. 0

    Converting a PDF to text using Tesseract OCR

    Stack Overflow | 2 years ago | Animesh Pandey
    java.lang.UnsatisfiedLinkError: Unable to load library 'tesseract': Native library (linux-x86-64/libtesseract.so) not found in resource path (....)
  3. 0

    UnsatisfiedLinkError: Add exception message with cause hint

    GitHub | 2 years ago | 4F2E4A2E
    java.lang.UnsatisfiedLinkError: Das angegebene Modul wurde nicht gefunden.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tess4j : java.lang.UnsatisfiedLinkError: Unable to load library

    Stack Overflow | 2 years ago
    java.lang.UnsatisfiedLinkError: Unable to load library 'libtesseract302'" error. I tried to fix it with solutions from similar posts but nothing worked. Located the 'libtesseract302' and 'liblept168.dll' file into a "dll" folder an added it as source folder. I´m running java 32bit and confirmed that the dlls are also 32bit dlls. Error log: Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: Unable to load library 'libtesseract302': Can't obtain InputStream for win32-x86/libtesseract302.dll
  6. 0

    Tesseract - The specified module could not be found

    Stack Overflow | 2 years ago | Ethyl Casin
    java.lang.UnsatisfiedLinkError: The specified module could not be found.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsatisfiedLinkError

    Unable to load library 'tesseract': libtesseract.so: cannot open shared object file: No such file or directory

    at com.sun.jna.NativeLibrary.loadLibrary()
  2. Java Native Access
    Native.loadLibrary
    1. com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:194)
    2. com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:283)
    3. com.sun.jna.Library$Handler.<init>(Library.java:142)
    4. com.sun.jna.Native.loadLibrary(Native.java:368)
    5. com.sun.jna.Native.loadLibrary(Native.java:353)
    5 frames
  3. net.sourceforge.tess4j
    Tesseract.doOCR
    1. net.sourceforge.tess4j.TessAPI.<clinit>(Unknown Source)
    2. net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source)
    3. net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source)
    4. net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source)
    5. net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source)
    5 frames
  4. io.lumify.tesseract
    TesseractGraphPropertyWorker.execute
    1. io.lumify.tesseract.TesseractGraphPropertyWorker.extractTextFromImage(TesseractGraphPropertyWorker.java:86)
    2. io.lumify.tesseract.TesseractGraphPropertyWorker.execute(TesseractGraphPropertyWorker.java:61)
    2 frames
  5. io.lumify.test
    GraphPropertyWorkerTestBase.run
    1. io.lumify.test.GraphPropertyWorkerTestBase.run(GraphPropertyWorkerTestBase.java:184)
    2. io.lumify.test.GraphPropertyWorkerTestBase.run(GraphPropertyWorkerTestBase.java:159)
    2 frames
  6. io.lumify.tesseract
    TesseractGraphPropertyWorkerTest.testTesseractTestImage01
    1. io.lumify.tesseract.TesseractGraphPropertyWorkerTest.testTesseractTestImage01(TesseractGraphPropertyWorkerTest.java:40)
    1 frame