Products | Versions |
---|---|
TIBCO Enterprise Message Service | - |
Not Applicable | - |
Resolution:
Description:
==========
The following error messages are seen when TIBCO Enterprise Message Service® (EMS) is started:
#############################
Using module path = /lib/64:/64
Unable to locate libz.so
#############################
Environment:
============
Operative System: Unix based.
Resolution:
===========
Beginning with the EMS 5.1 release, the EMS daemon is no longer statically linked.
The library libz.so is located in these two folders:
<EMS root>/lib
<EMS root>/lib/64
EMS uses the value of EMS_HOME to find the library and adds /lib and /lib/64 to the value of EMS_HOME. This would be the correct value of EMS_HOME.
In the case where the "Unable to locate libz.so" is seen, check the value of EMS_HOME with the “env” or “set” command. If the value of EMS_HOME is incorrect the value should be removed or set to <TIBCO_HOME>/ems/<EMS_Version>, for example:
EMS_HOME=/tibco/ems/5.1
It may be possible that the EMS daemon starts successfully using for one user but not other users. In this case, using the user that is not available to start the EMS daemon, the following can be used:
export EMS_HOME=<TIBCO_HOME>/ems/<EMS_Version>
In the case EMS_HOME is not defined, the issue might also be fixed by adding the following to LIBPATH (AIX), LD_LIBRARY_PATH (SOLARIS-LINUX) or SHLIB_PATH (HP-UX)
“<TIBCO_HOME>/ems/<EMS_Version>/lib” or “<TIBCO_HOME>/ems/<EMS_Version>/lib/64”