java.lang.UnsatisfiedLinkError: /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

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

,

This is a sub-class of the LinkageError class and indicates that the JVM cannot find an appropriate native-language definition of a method declared as native. Install the CDF Software Distribution on your system.

,
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 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 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 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 amyzhu
, 1 year ago
/Library/staf/lib/libJSTAFSH.jnilibno suitable image foundDid find:  /Library/staf/lib/libJSTAFSH.jnilib: mach-o, but wrong architecture  /Library/staf/lib/libJSTAFSH.jnilib: mach-o, but wrong architecture
via Stack Overflow by Unknown author, 2 years ago
/usr/lib/java/libPQOSUtil.dylib: no suitable image found. Did find: /usr/lib/java/libPQOSUtil.dylib: mach-o, but wrong architecture
java.lang.UnsatisfiedLinkError: /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
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1878)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1795)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at com.ibm.staf.service.STAFServiceHelper.(STAFServiceHelper.java:443)

Users with the same issue

48 times, 3 weeks ago
Once, 1 month ago
Once, 6 months ago
Once, 1 year ago
14 times, 1 year ago

Write tip

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