While trying to execute ReportAgent manually in debug mode or while trying to immediately send a snapshot of the CA PIM database and any local PMDBs to the queue/snapshots queue on the Distribution Server, at times the following error message appears:
ReportAgent: error while loading shared libraries: libxerces-c.so.28: cannot open shared object file: No such file or directory
Privileged Identity Manager 12.8, Linux endpoints
The cause for the problem is that the operating system is not able to find the proper location of this shared object file.
# ldd ReportAgent
linux-gate.so.1 => (0xffffe000)
libxerces-c.so.28 => not found
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00d47000)
libpam.so.0 => /lib/libpam.so.0 (0xf7fd3000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf7fb9000)
libdl.so.2 => /lib/libdl.so.2 (0xf7fb3000)
libnsl.so.1 => /lib/libnsl.so.1 (0xf7f9a000)
libresolv.so.2 => /lib/libresolv.so.2 (0x001a1000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x004f6000)
libm.so.6 => /lib/libm.so.6 (0xf7f71000)
libc.so.6 => /lib/libc.so.6 (0x00beb000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00de9000)
libaudit.so.0 => /lib/libaudit.so.0 (0xf7f57000)
/lib/ld-linux.so.2 (0x00bcc000)
Now, executing 'ReportAgent' would not produce the error message and the above procedure in step 3 would be valid for all the users executing the ReportAgent
#ReportAgent -report snapshot
INFO: AC installed directory: /opt/CA/AccessControl
CA Access Control Reporting Agent.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=========================
Successfully sent report of seosdb. (id = 1406895034)
=========================