sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #57095
[Question #696607]: CentOS 7 issue for Sikulix 2.0.4 and 2.0.5
New question #696607 on SikuliX:
https://answers.launchpad.net/sikuli/+question/696607
Hello,
I have been trying to run Sikulix 2.0.4 and Sikulix 2.0.5
I have followed the following instructions
- https://sikulix-2014.readthedocs.io/en/latest/newslinux.html#version-1-1-4-special-for-linux-people
- https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-Libraries-for-OpenCV-4
I have the following java version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)
I have the following tesseract and leptonica version
tesseract 4.1.1
leptonica-1.80.0
libpng 1.5.13 : zlib 1.2.7
Found AVX2
Found AVX
Found SSE
I have the following ant version
Apache Ant(TM) version 1.9.4 compiled on November 5 2018
I have the following cmake version
cmake version 3.20.0
CMake suite maintained and supported by Kitware (kitware.com/cmake).
As for openCV I have compiled version 4.5.1 and have the libopencv_java451.so at these locations. I've already made a symlink to libopencv_java.so at both of these location:
/usr/local/lib64/libopencv_java451.so
/usr/local/share/java/opencv4/libopencv_java451.so
#Sikulix 2.0.4
The problem I have with Sikulix 2.0.4 is that I get 2 errors. Sometimes I get this error:
[error] java.lang.NoClassDefFoundError ( java.lang.NoClassDefFoundError: Could not initialize class org.sikuli.script.Finder$FindInput2
and sometimes I get this error:
[error] RunTime:loadLib: opencv_java (failed) probably dependent libs missing:
no opencv_java in java.library.path
#Sikulix2.0.5
The issue I've been getting for Sikulix 2.0.5 is this
[error] RunTime:loadLib: libopencv_java430.so (failed) probably dependent libs missing:
/home/mufasa/.Sikulix/SikulixLibs/libopencv_java430.so: /lib64/libm.so.6 version 'GLIB_2.27' not found (required by /home/mufasa.Sikulix/SikulixLibs/libopencv_java430.so)
The latest glibc available on CentOS7 is 2.17. I tried to update to 2.27 by compiling from source but I think the compiler crashes because afterwards I get this error when executing simple commands like `ls` also I am unable to reboot my VM afterwards.
Segmentation Fault (core dumped)
How can I fix these errors? If 2.0.5 is too much of a stretch is it possible to fix the 2.0.4 issue?
Thanks
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.