It does not like
/opt/freeware/lib/libiconv.a
# rpm -qa
exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libiconv.a(libiconv.so.2).
0509-150 Dependent module libgcc_s.a(shr.o) could not be loaded.
0509-022 Cannot load module libgcc_s.a(shr.o).
0509-026 System error: A file or directory in the path name does not exist.
0509-022 Cannot load module rpm.
0509-150 Dependent module /opt/freeware/lib/libiconv.a(libiconv.so.2)
There is a difference between working_server and nonworking_server as far as that file goes
working_server
# lslpp -L | grep -i iconv
bos.iconv.com 7.1.5.30 C F Common Language to Language
bos.iconv.ucs.com 7.1.5.31 A F Unicode Base Converters for
bos.rte.iconv 7.1.5.31 A F Language Converters
libiconv 1.16-5 C R Character set conversion
library, portable iconv
#
nonworking_server
# lslpp -L | grep -i iconv
exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libiconv.a(libiconv.so.2).
0509-150 Dependent module libgcc_s.a(shr.o) could not be loaded.
0509-022 Cannot load module libgcc_s.a(shr.o).
0509-026 System error: A file or directory in the path name does not exist.
0509-022 Cannot load module rpm.
0509-150 Dependent module /opt/freeware/lib/libiconv.a(libiconv.so.2) could not be loaded.
0509-022 Cannot load module .
bos.iconv.com 7.1.5.30 C F Common Language to Language
bos.iconv.ucs.com 7.1.5.31 A F Unicode Base Converters for
bos.rte.iconv 7.1.5.31 A F Language Converters
It is missing that last line highlighted in red