UnsatisfiedLinkError in patch.sh after upgrading OpenJDK on an RSA Identity Governance and Lifecycle soft appliance using Red Hat Enterprise Linux (RHEL)
4 years ago
Originally Published: 2017-05-17
Article Number
000050004
Applies To
RSA Product Set: Identity Governance and Lifecycle 
RSA Version/Condition: 7.0
O/S Version: Red Hat Enterprise Linux (RHEL)
 
Issue
When attempting to upgrade the RSA Identity Governance and Lifecycle application on a RHEL appliance after upgrading OpenJDK, you may receive the following error:
 
Caught: java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.0.x86_64/jre/lib/amd64/libnet.so: 
libgconf-2.so.4: cannot open shared object file: No such file or directory java.lang.UnsatisfiedLinkError: 
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.0.x86_64/jre/lib/amd64/libnet.so: libgconf-2.so.4: cannot open shared object file: 
No such file or directory at CustomizeACM.run(CustomizeACM.groovy:19) An error occured in the customizeACM command : error code 1 
Step failed! See /home/oracle/Aveksa_7.0.1_P02/logs/7.0.1_P02_2017-01-26-1337.log for more information.
Cause
This will occur when RHEL is missing the GConf2 package. THe patch.sh currently does not check for this requirement before executing.
Resolution
Install the GConf2 package using yum or rpm.

Yum

yum -y install <package file name>

RPM

rpm -ivh <package file name>
Notes
This requirement may be checked for in a future release.