How to resolve the “../../java/latest/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file; no such file or directory” error for RSA SecurID Access PrimeKit
5 days ago
Originally Published: 2026-07-16
Article Number
000074018
Applies To
RSA Product Set:  SecurID Access
RSA Product/Service Type:  SecurID Access Prime (Linux)
Issue

When trying to start RSA PrimeKit services or run scripts , the following error displays:

 ../../java/latest/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file; no such file or directory.

The <primekit>/java/latest/bin/java executable is in the proper folder.

 

Cause

Even though <primekit>/java/latest/bin/java is in the correct directory, the system is unable to access it.  The most common causes for this are:

  • fapolicyd
  • SELinux
  • Trellix
  • Tanium
  • Another application that prevents code from executing
Resolution

SecurID Access Prime (aka PrimeKit) is its own environment.  It contains all the Java and Apache Tomcat code required to do its job.  Everything that PrimeKit needs to run is contained in /opt/rsa/primekit (or C:\rsa\primekit in Windows).  

Ensure that nothing on the system is blocking any code from running under /opt/rsa/primekit or any of its subdirectories.  The actual whitelisting of /opt/rsa/primekit is beyond the scope of this document; instead, whoever is responsible for hardening the system in the first place should be consulted on how to remove restrictions from /opt/rsa/primekit.

Notes

The same is true for Windows installations of Primekit; that is, ensure that there is nothing interfering with the execution of anything under C:\rsa\primekit (or wherever PrimeKit was installed).