java.lang.UnsatisfiedLinkError: /.amd\_mnt/fsqa/host/x/angus/staf/bin/fbsd\_x32/lib/libJSTAFSH.so: /usr/local/lib/compat/libpthread.so.2: Undefined symbol "\_\_malloc\_lock"

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.

,

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.

Solutions on the web

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 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 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 ubuntuforums.org by Unknown author, 1 year ago
/opt/azureus/libswt-pi-gtk-3139.so: /usr/lib/libcairo.so.2: undefined symbol: FT_GlyphSlot_Embolden
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: /.amd\_mnt/fsqa/host/x/angus/staf/bin/fbsd\_x32/lib/libJSTAFSH.so: /usr/local/lib/compat/libpthread.so.2: Undefined symbol "\_\_malloc\_lock"
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at com.ibm.staf.service.STAFServiceHelper.(STAFServiceHelper.java:443)

Users with the same issue

Once, 3 weeks ago
Once, 5 months ago
Once, 11 months ago
14 times, 1 year ago
Once, 1 year ago

Write tip

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