← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #190141]: can't start Sikuli on rhel6 64 bit

 

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

Description changed to:
Hi,

I can't run sikuli properly on my rhel6 64bit , the error message i got:
[info] locale: en_US
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/username/apps/sikuli/Sikuli-IDE/libs/libJXGrabKey.so: /home/username/apps/sikuli/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(ClassLoader.java:1807)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
        ... some more

I tried to solve the problem by doing as this post suggested:
https://answers.launchpad.net/sikuli/+question/152727

 but I failed to build JXGrabkey from source:
$ g++ -Wall -fPIC -c *.cpp
JXGrabKey.h:19:17: error: jni.h: No such file or directory
JXGrabKey.h:20:22: error: X11/Xlib.h: No such file or directory
JXGrabKey.cpp:25:24: error: X11/keysym.h: No such file or directory
In file included from JXGrabKey.cpp:22:
JXGrabKey.h:28: error: ‘KeyCode’ does not name a type
... some more

is there any workaround??

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