UnsatisfiedLinkError with OpenCV. Undefined Symbol libgdal.so.20

Asked by Caleb Hulbert on 2019-01-07

1.1.4-SNAPSHOT-2019-01-06_18:51/Linux4.18.0-13-generic/Java8(64)1.8.0_191-8u191-b12-0ubuntu0.18.10.1-b12

Hi all,

As far as I can tell, I have run all the appropriate setup instructions, and have a working version of OpenCV as well as Tesseract. I have also created the symlink for openCV. Regardless, I get the following error when trying to run a "findText" command:

[error] RunTimeIDE: loadLib: opencv_java not usable:
java.lang.UnsatisfiedLinkError: /usr/lib/jni/libopencv_java320.so: /usr/lib/libgdal.so.20: undefined symbol: GEOSDelaunayTriangulation_r
[error] JythonScriptRunner: runPython: (findText("This is a test")) raised: Traceback (most recent call last):
File "<string>", line 1, in <module>
at org.sikuli.script.TextRecognizer.<init>(TextRecognizer.java:27)
at org.sikuli.script.TextRecognizer.start(TextRecognizer.java:50)
at org.sikuli.script.Region.doFind(Region.java:2833)
at org.sikuli.script.Region.access$300(Region.java:21)
at org.sikuli.script.Region$RepeatableFind.run(Region.java:3102)
at org.sikuli.script.Region$Repeatable.repeat(Region.java:3053)
at org.sikuli.script.Region.wait(Region.java:2244)
at org.sikuli.script.Region.waitText(Region.java:2682)
at org.sikuli.script.Region.findText(Region.java:2698)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:6

2)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2019-01-07
Last reply:
2019-01-07
RaiMan (raimund-hocke) said : #1

apparently your opencv setup has a problem.

search your appropriate Linux forums.

Can you help with this problem?

Provide an answer of your own, or ask Caleb Hulbert for more information if necessary.

To post a message you must log in.