not able to run sikuli in redhat

Asked by Gaurav Vohra

Hi
i am currently facing problem in running the sikuli-ide.sh.
problem is as follows:-
whenever i run the sikuli-ide.sh file, is shows [info] locale: en_US only and then exits
please reply what may be the issue, i have already set the paths and fulfilled all the requirements .

when is set -Dsikuli.console=false in sikuli-ide.sh, it shows the following errors:-

Exception in thread "main" java.lang.UnsatisfiedLinkError: /delsoft/gauravv_tr/Sikuli/Sikuli-IDE/libs/libJXGrabKey.so: /delsoft/gauravv_tr/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:1767)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1663)
        at java.lang.Runtime.load0(Runtime.java:787)
        at java.lang.System.load(System.java:1022)
        at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
        at org.sikuli.script.internal.hotkey.LinuxHotkeyManager.<clinit>(LinuxHotkeyManager.java:25)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:186)
        at org.sikuli.script.internal.hotkey.HotkeyManager.getInstance(HotkeyManager.java:54)
        at org.sikuli.ide.SikuliIDE.installCaptureHotkey(SikuliIDE.java:797)
        at org.sikuli.ide.SikuliIDE.initHotkeys(SikuliIDE.java:808)
        at org.sikuli.ide.SikuliIDE.<init>(SikuliIDE.java:701)
        at org.sikuli.ide.SikuliIDE.getInstance(SikuliIDE.java:138)
        at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:973)

waiting for the reply

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Neil (goofandfroggie) said :
#1

Hi this is a Ubuntu forum not red hat commands maybe different etc. best to go to Red Hat help.
Regards

Revision history for this message
Gaurav Vohra (gaurav-vohra-45) said :
#2

still there must be a solution, please read the errors carefully, its not related to redhat.
regards

Revision history for this message
Gaurav Vohra (gaurav-vohra-45) said :
#3

please reply , if i can make it work on redhat linux
help......
regards

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

The part of the error message "wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)" might indicate, that you are trying top run a 64 bit program on a 32 bit operating system or the other way round.

I am moving this question from Ubuntu to Sikuli, hoping that the supporters there will pick it up.

Revision history for this message
RaiMan (raimund-hocke) said :
#5

you seem to run on a 64-Bit System.

There are problems with the bundled JXGrabKey.
You have to build it from source on your system.

Search for other questions about JXGrabKey.

Can you help with this problem?

Provide an answer of your own, or ask Gaurav Vohra for more information if necessary.

To post a message you must log in.