Linux + Java Maven Project Unsatisfied link error. same code working in Windows

Asked by Anton Michael Jerald

Linux + Java Maven Project Unsatisfied link error. same code working in Windows

[error] RunTimeAPI: loadLib: libVisionProxy.so not usable:
java.lang.UnsatisfiedLinkError: /home/[USERNAME]/.Sikulix/SikulixLibs_201803141657/libVisionProxy.so: libtesseract.so.3: cannot open shared object file: No such file or directory
[error] RunTimeAPI: loadLib: libVisionProxy.so not usable:
java.lang.UnsatisfiedLinkError: /home/[USERNAME]/.Sikulix/SikulixLibs_201803141657/libVisionProxy.so: libtesseract.so.3: cannot open shared object file: No such file or directory
[info] runcmd: ldconfig -p
[error] LinuxSupport: checking: Tesseract not in loader cache (see doc-note on Tesseract)
[error] RunTimeAPI: Problematic lib: /home/[USERNAME]/.Sikulix/SikulixLibs_201803141657/libVisionProxy.so (...TEMP...)
[error] RunTimeAPI: libVisionProxy.so loaded, but it might be a problem with needed dependent libraries
ERROR: ...TEMP...: libtesseract.so.3: cannot open shared object file: No such file or directory
[error] RunTimeAPI: *** terminating: problem with native library: libVisionProxy.so
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[ERROR] There are test failures.

I have these dependencies,

<dependency>
<groupId>org.sikuli</groupId>
<artifactId>sikuli-api</artifactId>
<version>1.2.0</version>
 </dependency>
 <!-- https://mvnrepository.com/artifact/com.sikulix/sikulixapi -->

<dependency>
<groupId>com.sikulix</groupId>
<artifactId>sikulixapi</artifactId>
<version>1.1.2</version>
</dependency>

Do I need to add the Open CV and tess4j dependencies.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Anton Michael Jerald
Solved:
Last query:
Last reply:
Revision history for this message
Anton Michael Jerald (automationfreak2410) said :
#1

Installed the Tesseract in the Ubuntu machine. My issue is solved.

Thank you,
Anton