Originally posted by: JUN4_Paul_Zimmermann
Having the an issue regarding gnupg2 and logrotate from the IBM AIX toolbox.
# gpg
exec(): 0509-036 Cannot load program gpg because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.8).
0509-150 Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
0509-152 Member libiconv.so.2 is not found in archive
0509-022 Cannot load module gpg2_64.
0509-150 Dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded.
0509-022 Cannot load module .
I have worked around the issue by doing the below.
With no real assistance from the IBM support case I raised.
# mv /usr/lib/libiconv.a /usr/lib/libiconv.a.ORIG
#
# cp -p /opt/freeware/lib/libiconv.a /usr/lib/libiconv.a
#AIX-Open-Source-Software#AIXOpenSource