Commands unifstat, unisrvcntr fail with the following error:
$ unifstat
/opt/CA/SharedComponents/bin/unisrvcntr: error while loading shared libraries: libcaconfigutils.so: cannot open shared object file: No such file or directory
$ unisrvcntr status
unisrvcntr: error while loading shared libraries: libcaconfigutils.so: cannot open shared object file: No such file or directory
The Linux native `ldd` command however resolves the shared library dependencies correctly, and the library libcaconfigutils.so
does exist:
$ ldd /opt/CA/SharedComponents/bin/unisrvcntr
linux-gate.so.1 => (0x00976000)
libcaconfigutils.so => /opt/CA/SharedComponents/lib/libcaconfigutils.so (0x0035a000)
libc.so.6 => /lib/libc.so.6 (0x00b09000)
/lib/ld-linux.so.2 (0x00ae7000)
$ ls -l /opt/CA/SharedComponents/lib/libcaconfigutils.so
lrwxrwxrwx 1 root root 56 Jul 25 16:14 /opt/CA/SharedComponents/lib/libcaconfigutils.so -> /opt/CA/SharedComponents/csutils/lib/libcaconfigutils.so
$ ls -l /opt/CA/SharedComponents/csutils/lib/libcaconfigutils.so
-r-xr-xr-x 1 root root 81416 Apr 1 2015 /opt/CA/SharedComponents/csutils/lib/libcaconfigutils.so
$ rpm -q --whatprovides /opt/CA/SharedComponents/csutils/lib/libcaconfigutils.so
ca-cs-utils-11.2.15090-0000.i386
The symbolic link /opt/CA/CAlib to the /opt/CA/SharedComponents/lib directory is missing. The unisrvcntr and casrvc commands looks for dependent libraries in the following paths: /opt/CA/CAlib/compat:/opt/CA/CAlib:/usr/lib
Create the symbolic link /opt/CA/CAlib to /opt/CA/SharedComponents/lib directory, like so:
# ln -s /opt/CA/SharedComponents/lib /opt/CA/CAlib
# ls -ld /opt/CA/CAlib
lrwxrwxrwx. 1 root root 28 Jul 21 2015 /opt/CA/CAlib -> /opt/CA/SharedComponents/lib