AIX issue with symlinks libbfrpm.so

After updating package “rpm.rte” on 2 AIX Host to latest Version from AIX Toolbox it seems like this update damaged the symlink structure to rpm libraries. On one host I was able to fix them but on the second one the problem keeps existing. Normal rpm commands like “rpm -qa” work fine.

Blockquote
server:/var/opt/BESClient/__BESData/__Global # /opt/BESClient/bin/qna
Default masthead location, using /etc/opt/BESClient/actionsite.afxm
Q: exists package “bash” whose (version of it >= “4.3.30-1”) of rpm
E: RPM inspector failed to open dynamic library (diagnostic note: libbfrpm.so symlink missing)
T: 106951
Blockquote
server:/var/opt/BESClient/__BESData/__Global # ls -l lib*
lrwxrwxrwx 1 root system 24 Feb 07 07:48 libbfrpm.so → /usr/lib/librpm.so.7.0.1
lrwxrwxrwx 1 root system 26 Feb 07 07:48 libbfrpmdb.so → /usr/lib/librpmio.so.7.0.1
lrwxrwxrwx 1 root system 26 Feb 07 07:48 libbfrpmio.so → /usr/lib/librpmio.so.7.0.1
server:/var/opt/BESClient/__BESData/__Global # ls -l /usr/lib/librpm.so.7.0.1
lrwxrwxrwx 1 root system 37 Feb 07 07:19 /usr/lib/librpm.so.7.0.1 → /usr/opt/freeware/lib/librpm.so.7.0.1
server:/var/opt/BESClient/__BESData/__Global # ls -l /usr/opt/freeware/lib/librpm.so.7.0.1
lrwxrwxrwx 1 root system 32 Feb 07 07:23 /usr/opt/freeware/lib/librpm.so.7.0.1 → /usr/opt/rpm/lib/librpm.so.7.0.1
server:/var/opt/BESClient/__BESData/__Global # ls -l /usr/opt/rpm/lib/librpm.so.7.0.1
-rwxr-xr-x 1 root system 1079269 Jan 08 11:50 /usr/opt/rpm/lib/librpm.so.7.0.1
Blockquote
server:/var/opt/BESClient/__BESData/__Global # ls -l /usr/lib/librpmio.so.7.0.1
lrwxrwxrwx 1 root system 39 Feb 07 07:12 /usr/lib/librpmio.so.7.0.1 → /usr/opt/freeware/lib/librpmio.so.7.0.1
server:/var/opt/BESClient/__BESData/__Global # ls -l /usr/opt/freeware/lib/librpmio.so.7.0.1
-rwxr-xr-x 1 root system 378171 Feb 06 12:50 /usr/opt/freeware/lib/librpmio.so.7.0.1

At this point I run out of ideas. Link structure is similar to working host. Is there any way to get more or debugging information from qna and inspector ?

As the symlinks in /var/opt/BESClient/__BESData/__Global are created by BigFix itself it might be interessting where bigfix discovers the path information ? Unfortunately I’m not very familar with rpm.

Are you running qna as root? The system can sometimes fix itself but only if it has the privileges to do so

Yes, I run qna as root.

It might be useful to know, where the inspector expects such symlinks. Only in /var/opt/BESClient/__BESData/__Global or in more locations ?