yes uninstalling with no deps did work and now dnf runs as expected.
Original Message:
Sent: Wed July 23, 2025 03:24 AM
From: Parth Patel
Subject: AIX 7.3 dnf libintl.a libiconv.a issue
Remove libiconv-1.17-1.ppc package from your system (rpm -e --nodeps libiconv-1.17-1.ppc)
And installed it freshly (rpm -ivh libiconv-1.17-1.aix7.1.ppc.rpm)
If that doesn't work. Please run below command.
rpm -e "rpm -qa|grep -v AIX-rpm"
"./dnf_aixtoolbox.sh -d"
dnf update
------------------------------
Parth Patel
Original Message:
Sent: Wed July 23, 2025 03:05 AM
From: NBG UnixSystemsSupport
Subject: AIX 7.3 dnf libintl.a libiconv.a issue
Im not sure maybe exported LIBPATH had something to do so i unset it and saw libiconv is already installed:
# rpm -ivh libiconv-1.17-1.aix7.1.ppc.rpm
warning: libiconv-1.17-1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
Verifying... ################################# [100%]
Preparing... ################################# [100%]
package libiconv-1.17-1.ppc is already installed
# /opt/freeware/bin/dnf update
exec(): 0509-036 Cannot load program /opt/freeware/bin/python3.9 because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.8).
0509-150 Dependent module /opt/freeware/lib/libiconv.a(libiconv.so.2) could not be loaded.
0509-153 File /opt/freeware/lib/libiconv.a is not an archive or
the file could not be read properly.
0509-026 System error: Cannot run a file that does not have a valid format.
# rpm -qf /opt/freeware/lib/libiconv.a
libiconv-1.17-1.ppc
------------------------------
NBG UnixSystemsSupport
Original Message:
Sent: Wed July 23, 2025 03:02 AM
From: NBG UnixSystemsSupport
Subject: AIX 7.3 dnf libintl.a libiconv.a issue
Hi Parth
unfortunatelly no luck.
# rpm -qf /opt/freeware/lib/libiconv.a
exec(): 0509-036 Cannot load program /usr/bin/ksh93 because of the following errors:
0509-150 Dependent module /opt/freeware/lib/libiconv.a(shr4_64.o) could not be loaded.
0509-153 File /opt/freeware/lib/libiconv.a is not an archive or
the file could not be read properly.
0509-026 System error: Cannot run a file that does not have a valid format.
# rpm -ivh libiconv-1.17-1.aix7.1.ppc.rpm
exec(): 0509-036 Cannot load program /usr/bin/ksh93 because of the following errors:
0509-150 Dependent module /opt/freeware/lib/libiconv.a(shr4_64.o) could not be loaded.
0509-153 File /opt/freeware/lib/libiconv.a is not an archive or
the file could not be read properly.
0509-026 System error: Cannot run a file that does not have a valid format.
------------------------------
NBG UnixSystemsSupport
Original Message:
Sent: Wed July 23, 2025 02:56 AM
From: Parth Patel
Subject: AIX 7.3 dnf libintl.a libiconv.a issue
Please share me the output of " rpm -qf /opt/freeware/lib/libiconv.a"
If this libiconv.a file is not present in your system then download libiconv package from AIX Toolbox and install it.
wget https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libiconv/libiconv-1.17-1.aix7.1.ppc.rpm
rpm -ivh libiconv-1.17-1.aix7.1.ppc.rpm
Then try "dnf update"
------------------------------
Parth Patel
Original Message:
Sent: Wed July 23, 2025 02:33 AM
From: NBG UnixSystemsSupport
Subject: AIX 7.3 dnf libintl.a libiconv.a issue
Hello,
no exporting LIBPATH didn't make any difference.
# ar -X32_64 -tv /opt/freeware/lib/libiconv.a
ar: Error 0
ar: 0707-106 Internal error while reading the fixed
header of archive file /opt/freeware/lib/libiconv.a.
# ar -X32_64 -tv /opt/freeware/lib/libintl.a
rwxr-xr-x 203/1 74754 Oct 20 13:39 2022 libintl.so.8
rwxr-xr-x 203/1 81819 Oct 20 13:45 2022 libintl.so.8
rwxr-xr-x 203/1 114582 Oct 20 13:45 2022 libintl.so.1
rwxr-xr-x 203/1 130986 Oct 20 13:45 2022 libintl.so.1
------------------------------
NBG UnixSystemsSupport
Original Message:
Sent: Wed July 23, 2025 01:42 AM
From: Parth Patel
Subject: AIX 7.3 dnf libintl.a libiconv.a issue
Hi,
Could you please export LIBPATH=/opt/freeware/lib/ and try.
If it's not working, Please share me the output of below commands.
ar -X32_64 -tv /opt/freeware/lib/libiconv.a
ar -X32_64 -tv /opt/freeware/lib/libintl.a
Thanks,
------------------------------
Parth Patel
Original Message:
Sent: Tue July 22, 2025 07:02 AM
From: NBG UnixSystemsSupport
Subject: AIX 7.3 dnf libintl.a libiconv.a issue
Hello,
on 7300-03-00-2446 we succesfully install dnf_bundle_aix_73.tar but:
# /opt/freeware/bin/dnf update
exec(): 0509-036 Cannot load program /opt/freeware/bin/python3.9 because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.8).
0509-150 Dependent module /opt/freeware/lib/libiconv.a(libiconv.so.2) could not be loaded.
0509-153 File /opt/freeware/lib/libiconv.a is not an archive or
the file could not be read properly.
0509-026 System error: Cannot run a file that does not have a valid format.
$LIBPATH is not set anywhere i think.
Let me know how to troubleshoot this.
------------------------------
NBG UnixSystemsSupport
------------------------------