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
The issue occurs if 64-bit ETPKI was not installed and therefore 32-bit libraries are loaded.
On a fresh machine, or after uninstalling SDK + ETPKI, ensuring there are no directories left, redo installation as per following example:
- install the sdk files by submitting the command "./ca-sdk-12.0-sp2-linux.bin -i console".
- install the etPKI package by submitting the command "/root/CA/sdk/bin64/setup install caller=dummy instdir=/root/etPKI verbose env=none" (replace "dummy" with whatever ID you would like to use).