"error while loading shared libraries" when upgrading to vCenter Server Appliance
book
Article ID: 328468
calendar_today
Updated On:
Products
VMware vCenter Server
Issue/Introduction
Symptoms:
Upgrading vCenter Server Appliance fails before the export phase.
In the /opt/vmware/share/vami/vami_get_network log file, you see entries similar to:
/opt/vmware/share/vami/vami_get_network: error while loading shared libraries: libvami-common.so: cannot open shared object file: No such file or directory.
Cause
This issue occurred in vCenter version 6.5 due to a missing dependency in the shared library paths during the export phase of the upgrade. For more information, see VMware vSphere 6.5 Release Notes.
Resolution
This issue is resolved in vCenter Server 6.0 Update 3 and up. available at VMware Download options
To work around this issue if you do not want to upgrade, update the paths for the shared libraries before upgrading:
Connect to the vCenter Server Appliance to be upgraded using an SSH session and root credentials.