sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13760
Re: [Question #211529]: Running selenium+sikuli scripts through Jenkins - Library not loaded: /usr/local/lib/libopencv_core.2.2.dylib
Question #211529 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/211529
Status: Open => Answered
RaiMan proposed the following answer:
This is a weakness of the current native library implementation:
If Sikuli finds a folder /Application/Sikuli-IDE.app/Contents/Frameworks, it assumes a standard Sikuli installation and loads its native libraries from this folder, that in turn find the dependent libraries in the same folder, because they are provided with the Sikuli bundle and the loader parameters are set accordingly.
If this folder is not found (which seems to be the case in your
situation), the Sikuli own native libraries are copied to a temp folder
from inside sikuli-script.jar, loaded from there and it is assumed, that
the needed dependent libraries (like OpenCV) will be found in there
standard locations (/usr/local/lib) in your case.
The workaround:
Take care, that on the system, your script is running on, the folder
/Application/Sikuli-IDE.app/Contents/Frameworks
exists and contains the stuff from the standard installed local Sikuli app on your local system.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.