← Back to team overview

sikuli-driver team mailing list archive

[Question #152727]: Cannot launch sikuli in Centos 5.5 --- try to build JXGrabkey from source

 

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

Summary changed to:
Cannot launch sikuli in Centos 5.5 --- try to build JXGrabkey from source

Description changed to:
Try the solution from comment #4 (by Om)

build libJXGrabKey.so from source, so it runs with your Linux

-----------------------------------------------------------------------------

Operating System : Centos 5.5 64 bit

Trying to launch Sikuli in Centos 5.5 results in following error:

[root@winxp-sgb Sikuli-IDE]# ./sikuli-ide.sh 
[info] locale: en_US
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/jyetukuri/Desktop/Sikuli-X-1.0rc2-linux/Sikuli-IDE/libs/libJXGrabKey.so: /home/jyetukuri/Desktop/Sikuli-X-1.0rc2-linux/Sikuli-IDE/libs/libJXGrabKey.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
        at org.sikuli.ide.NativeLayerForLinux.initIDE(NativeLayerForLinux.java:24)
        at org.sikuli.ide.SikuliIDE.<init>(SikuliIDE.java:661)
        at org.sikuli.ide.SikuliIDE.getInstance(SikuliIDE.java:130)
        at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:913)
[root@winxp-sgb Sikuli-IDE]# 

Is there a workaround for this?

Thanks,
Jahnavi

You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.