java.lang.UnsatisfiedLinkError: /usr/local/staf/lib/libJSTAFSH.so: '/usr/local/staf/lib/libJSTAFSH.so' is not a valid load module: Bad magic number

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.

Solutions on the web

via staf by chockalingams
, 1 year ago
/usr/local/staf/lib/libJSTAFSH.so: '/usr/local/staf/lib/libJSTAFSH.so' is not a valid load module: Bad magic number
via staf by v1ct0rfan
, 1 year ago
/.amd\_mnt/fsqa/host/x/angus/staf/bin/fbsd\_x32/lib/libJSTAFSH.so: /usr/local/lib/compat/libpthread.so.2: Undefined symbol "\_\_malloc\_lock"
via staf by tonnix
, 1 year ago
/home/qaprice/staf/solaris/lib/libJSTAFSH.so: ld.so.1: java: fatal: /home/qaprice/staf/solaris/lib /libJSTAFSH.so: wrong ELF class: ELFCLASS64
via staf by pappala
, 1 year ago
C:\STAF\bin\JSTAFSH.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
via staf by braddillman
, 1 year ago
C:\STAF\bin\JSTAFSH.dll: %1 is not a valid Win32 application
via staf by amyzhu
, 1 year ago
/Library/staf/lib/libJSTAFSH.jnilib:  no suitable image found.  Did find:  /Library/staf/lib/libJSTAFSH.jnilib: mach-o, but wrong architecture  /Library/staf/lib/libJSTAFSH.jnilib: mach-o, but wrong architecture
java.lang.UnsatisfiedLinkError: /usr/local/staf/lib/libJSTAFSH.so: '/usr/local/staf/lib/libJSTAFSH.so' is not a valid load module: Bad magic number
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1611)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
at java.lang.Runtime.loadLibrary0(Runtime.java:795)
at java.lang.System.loadLibrary(System.java:834)
at com.ibm.staf.service.STAFServiceHelper.(STAFServiceHelper.java:443)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
305 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.