← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #674483]: Linux390x compatibility

 

Question #674483 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/674483

Rony Verch posted a new comment:
Sorry for sending this later then expected but this is the error I am
receiving:

OpenJDK 64-Bit Zero VM warning: You have loaded library /root/.Sikulix/SikulixLibs_201803080837/libVisionProxy.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
[error] RunTimeIDE: loadLib: libVisionProxy.so not usable: 
java.lang.UnsatisfiedLinkError: /root/.Sikulix/SikulixLibs_201803080837/libVisionProxy.so: /root/.Sikulix/SikulixLibs_201803080837/libVisionProxy.so: wrong ELF class: ELFCLASS32 (Possible cause: endianness mismatch)
[error] RunTimeIDE: loadLib: libVisionProxy.so not usable: 
java.lang.UnsatisfiedLinkError: /root/.Sikulix/SikulixLibs_201803080837/libVisionProxy.so: /root/.Sikulix/SikulixLibs_201803080837/libVisionProxy.so: wrong ELF class: ELFCLASS32 (Possible cause: endianness mismatch)
[info] runcmd: ldconfig -p 
[error] LinuxSupport: buildVision: no valid Java JDK available nor found
[error] RunTimeIDE: Problematic lib: /root/.Sikulix/SikulixLibs_201803080837/libVisionProxy.so (...TEMP...)
[error] RunTimeIDE: libVisionProxy.so loaded, but it might be a problem with needed dependent libraries
ERROR: ...TEMP...: ...TEMP...: wrong ELF class: ELFCLASS32 (Possible cause: endianness mismatch)
[error] RunTimeIDE:  *** terminating: problem with native library: libVisionProxy.so


Additionally, when I run "java -version" this is what I get:

openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-b13)
OpenJDK 64-Bit Zero VM (build 25.181-b13, interpreted mode)


I believe the error has something to do with the installed Java being a "Zero VM" version of Java and is loading the "libVisionProxy.so" library wrong. I've also tried installing other versions of Java but they also seem to have the same issue.

In regards to  OpenCV and Tesseract, installing them wasn't too
challenging actually. OpenCV 3.2.5 was available through yum (i'm on a
RHEL 7 machine) so that one was especially easy. Tesseract on the other
hand wasn't available through yum so that one was a little more
difficult. I ended up finding Tesseract on rpmfind--dot--net (I actually
found Tesseract 3.0.5 not 3.0.4) where I downloaded the rpm onto my
machine, installed it, and then fixed any missing dependencies through
either installing them with yum or using rpmfind--dot--net.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.