← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #296286]: [1.1.0] Linux: setup: how to generate a working libVisionProxy.so

 

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

Raghavender gave more information on the question:
Hi Wang,

I have built Sikuli Library using maven. but when i try to fetch
keywords got the following error.


root@xxxx123# java -jar /usr/jython/Lib/site-packages/SikuliLibrary/lib/SikuliLibrary.jar 10000
0 [main] INFO org.robotframework.remoteserver.RemoteServer  - Mapped path / to library com.github.rainmanwy.robotframework.sikulilib.SikuliLibrary.
1 [main] INFO org.robotframework.remoteserver.RemoteServer  - Robot Framework remote server starting
1 [main] INFO org.eclipse.jetty.server.Server  - jetty-7.x.y-SNAPSHOT
32 [main] INFO org.eclipse.jetty.server.handler.ContextHandler  - started o.e.j.s.ServletContextHandler{/,null}
111 [main] INFO org.eclipse.jetty.server.AbstractConnector  - Started SelectChannelConnector@0.0.0.0:10000
111 [main] INFO org.robotframework.remoteserver.RemoteServer  - Robot Framework remote server started on port 10000.
[info] runcmd: lsb_release -i -r -s 
Java HotSpot(TM) Server VM warning: You have loaded library /root/.Sikulix/SikulixLibs_201510081336/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] RunTimeAPI: loadLib: libVisionProxy.so not usable: 
java.lang.UnsatisfiedLinkError: /root/.Sikulix/SikulixLibs_201510081336/libVisionProxy.so: /root/.Sikulix/SikulixLibs_201510081336/libVisionProxy.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
[error] RunTimeAPI: loadLib: libVisionProxy.so not usable: 
java.lang.UnsatisfiedLinkError: /root/.Sikulix/SikulixLibs_201510081336/libVisionProxy.so: /root/.Sikulix/SikulixLibs_201510081336/libVisionProxy.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
[info] runcmd: ldconfig -p 
[info] runcmd: wmctrl -m 
[info] runcmd: xdotool version 
[info] runcmd: /root/.Sikulix/sikulixlibs/linux/runBuild 
[info] runcmd: ldd -r /root/.Sikulix/sikulixlibs/linux/Build/Target/libVisionProxy.so 
[error] RunTimeAPI: loadLib: libVisionProxy.so not usable: 
java.lang.UnsatisfiedLinkError: /root/.Sikulix/SikulixLibs_201510081336/libVisionProxy.so: /root/.Sikulix/SikulixLibs_201510081336/libVisionProxy.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
[error] RunTimeAPI: Problematic lib: /root/.Sikulix/SikulixLibs_201510081336/libVisionProxy.so (...TEMP...)
[error] RunTimeAPI: libVisionProxy.so loaded, but it might be a problem with needed dependent libraries
ERROR: ...TEMP...: ...TEMP...: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
[error] RunTimeAPI:  *** terminating: problem with native library: libVisionProxy.so


libVisionProxy.so  is present in sikulixlibs/linux/lib64/  directory i think it is searching for libVisionProxy.so in this path /root/.Sikulix/SikulixLibs_201510081336/, whereas file is already present in sikulixlibs folder.

i have tried to install suikuliIDE but it is also failing with the same
error.

Regards,
Raghavender

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