Description:
Following error is being logged when running custom application:
FATAL ERROR: Exception from System.loadLibraryjava.lang.UnsatisfiedLinkError:/opt/netegrity/siteminder/webagent/sdk/bin64/libsmjavaagentapi.so:libetpki2.so: wrong ELF class: ELFCLASS32
OS: Red Hat 5 64bit
SDK installer: smsdk-12.0-sp2-linux
Solution:
The issue occurs if 64-bit ETPKI was not installed and therefore 32-bit libraries are loaded.
Resolution:
On a fresh machine, or after uninstalling SDK + ETPKI, ensuring there are no directories left, redo installation as per following example: