[1.0.1] Linux: Unable to execute sikuli script - libopencv_highgui.so.2.4 issue

Asked by Rohan

I have downloaded and install sikuli on fedora 64 bit machine

When i try to run the script i get following error.

[debug (9/27/13 10:54:25 AM)] Jython: sikuli: __init__: entering
[debug (9/27/13 10:54:25 AM)] Jython: sikuli: Sikuli: entering
[debug (9/27/13 10:54:25 AM)] Jython: sikuli: Sikuli: constants
[debug (9/27/13 10:54:25 AM)] Jython: sikuli: Sikuli: import Region
[debug (9/27/13 10:54:27 AM)] Jython: sikuli: Sikuli: import Screen
[debug (9/27/13 10:54:27 AM)] Jython: sikuli: Sikuli: Env.addHotkey
[debug (9/27/13 10:54:27 AM)] Jython: sikuli: Sikuli: import Match
[debug (9/27/13 10:54:27 AM)] Jython: sikuli: Sikuli: import Pattern
[debug (9/27/13 10:54:27 AM)] Jython: sikuli: Sikuli: import Location
[debug (9/27/13 10:54:27 AM)] Jython: sikuli: Sikuli: import ScreenUnion
[debug (9/27/13 10:54:27 AM)] Jython: sikuli: Sikuli: import Finder
[debug (9/27/13 10:54:28 AM)] ResourceLoaderBasic: loadLib: VisionProxy
[debug (9/27/13 10:54:28 AM)] ResourceLoaderBasic: loadLib: Found: VisionProxy
[error (9/27/13 10:54:28 AM)] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: libVisionProxy.so
[error (9/27/13 10:54:28 AM)] ResourceLoaderBasic: loadLib: Since native library was found, it might be a problem with needed dependent libraries
/run/media/rd/Data/rd/opt/sikuli/libs/libVisionProxy.so: libopencv_highgui.so.2.4: cannot open shared object file: No such file or directory
[error (9/27/13 10:54:28 AM)] Terminating SikuliX after a fatal error(110)! Sorry, but it makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.
[debug (9/27/13 10:54:28 AM)] SikuliXFinal: cleanUp: 0

I have installed opencv-core.x86_64 on my machine and i also executed sudo ldconfig Still no luck.

Can anyone help?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

If you make a selective OpenCV setup on your machine, besides opencv_core you need opencv_imgproc and opencv_highgui.

Revision history for this message
Rohan (rohand87) said :
#2

Thanks RaiMan, that solved my question.