APAR status
Closed as program error.
Error description
This clmgr command gets following error in clutils.log - $ clmgr add hmc hmc.server.customer.com USER_NAME="u1" \ NODES=node2 PASSWORD=password /usr/es/sbin/cluster/utilities/clrest -o open \ -H hmc.server.customer.com -u u1 -x ******** exec(): 0509-036 Cannot load program /usr/es/sbin/cluster/utilities/clrest because of the following errors: 0509-150 Dependent module /opt/freeware/lib/libxml2.a (libxml2.shr.o) could not be loaded. 0509-152 Member libxml2.shr.o is not found in archive
Local fix
use "export LIBPATH=/usr/lib"
Problem summary
While running clrest binary getting below error: /usr/es/sbin/cluster/utilities/clrest -o open -H hmc.server.customer.com -u u1 -x ******** exec(): 0509-036 Cannot load program /usr/es/sbin/cluster/utilities/clrest because of the following errors: 0509-150 Dependent module /opt/freeware/lib/libxml2.a (libxml2.shr.o) could not be loaded. 0509-152 Member libxml2.shr.o is not found in archive The problem occurs due to clrest binary being compiled with an incorrect LIBPATH, i.e. /opt/freeware/lib:/usr/es/lib:/usr/lib:/lib:/usr/lpp/xlC/lib
Problem conclusion
Code changes are done to compile clrest binary with /usr/es/lib:/usr/lib:/lib:/usr/lpp/xlC/lib:/opt/freeware/lib LIBPATH. Here, we prefer to check /usr first and then /opt.
Temporary fix
Comments
APAR Information
APAR number
IJ45672
Reported component name
POWERHA SYSMIR
Reported component ID
5765H3900
Reported release
727
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2023-03-02
Closed date
2023-03-02
Last modified date
2023-03-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
POWERHA SYSMIR
Fixed component ID
5765H3900
Applicable component levels
[{"Business Unit":{"code":"BU008","label":"Security"},"Product":{"code":"SGL4G4","label":"PowerHA"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"727"}]
Document Information
Modified date:
02 March 2023