While trying to perform an upgrade of VMware Cloud Director to version 10.6.1 from VMware Cloud Director 10.5.1, error is received related to the below dependencies.
/opt/likewise/bin/domainjoin-cli: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory/opt/likewise/bin/domainjoin-cli: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory/opt/likewise/bin/lwsm: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directoryRemoved /etc/systemd/system/multi-user.target.wants/lwsmd.service.Removing /opt/vmware/vcloud-director/etc/truststore.pem02/03/2025 13:25:49 [INFO] Update status: Done pre-install scripts02/03/2025 13:25:49 [INFO] Update status: Running installation tests02/03/2025 13:25:49 [INFO] Running /opt/vmware/var/lib/vami/update/data/job/36/test_command warning: /opt/vmware/var/lib/vami/update/data/package-pool/package-pool/Linux-PAM-1.5.3-3.ph4.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 8a6a826d: NOKEYwarning: /opt/vmware/var/lib/vami/update/data/package-pool/package-pool/vmware-vcloud-distribution-ovascripts-10.6.1-24532678.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 530c79e6: NOKEYerror: Failed dependencies: libffi.so.6()(64bit) is needed by (installed) json-glib-1.2.8-1.ph2.x86_6402/03/2025 13:25:50 [ERROR] Failed with exit code 65024
VMware Cloud Director 10.5.1
VMware Cloud Director 10.6.1
json-glib-1.2.8-1.ph2.x86_64 package is installed in the VMware Cloud Director infrastructure. This package is causing the upgrade to fail.
rpm -qa | grep json-glibrpm -e json-glib-1.2.8-1.ph2.x86_64Please note there is another photon OS 2.0 package that might be causing the upgrade issue too. Please refer to this kb: Upgrade to VCD 10.6 GA fails with error regarding Failed dependencies. in case you run into other dependency issue while upgrade of VMware Cloud Director appliance.