Description:
When trying to run caf commands as root the commands fail with the error below.
dyld: Library not loaded: libcfUtilities.dylib
Referenced from: /opt/CA/SharedComponents/bin/caf
Reason: image not found
Trace/BPT trap
bash-3.2#
For example, when trying to run the command to rescan Software inventory;
bash-3.2# caf start amagent args /RESCAN_SOFTWARE /COLLECT
dyld: Library not loaded: libcfUtilities.dylib
Referenced from: /opt/CA/SharedComponents/bin/caf
Reason: image not found
Trace/BPT trap
bash-3.2#
Solution:
Please run the command below as 'root'
./etc/Profile.CA all
Then re-run the caf command as 'root' and it should succeed
E.X.:
NOTE: If this problem returns after a reboot, please open an issue with support.