When a new agent is installed on z/Linux (Linux on Mainframe), the agent may not start with following error:
dlopen: libjvm.so: cannot open shared object file: No such file or directory
Please make sure the oscomponent.libjvmpath is correct
The libjvm.so used by WA Agent may not be of correct JRE version. On z/Linux, only IBM JRE is supported. Make sure to install the IBM JRE 8 before installing the agent. The LD_LIBRARY_PATH may also be pointing to incorrect JRE.
'/opt/ESP/SystemAgent/ESPMSTR/jre/lib/amd64/server' path and the variable was exported, e.g.
LD_LIBRARY_PATH="/opt/CA/WA_Agent:/usr/lib/jvm/java-1.8.0-jdk-1.8.0.242.b08-0.el7_7.s390x/jre/lib/s390x/classic:/usr/lib/jvm/java-1.8.0-jdk-1.8.0.242.b08-0.el7_7.s390x/jre/lib/:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
oscomponent.libjvmpath=/usr/lib/jvm/java-1.8.0-jdk-1.8.0.242.b08-0.el7_7.s390x/jre/lib/libjava.so