Hi @Lakshmi Surekha Kovvuri
Thank you very much for the support. After adding the path /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8 into $LIBPATH variable, it worked.
Thanks,
Sumudu Tissera
------------------------------
Sumudu Tissera
------------------------------
Original Message:
Sent: Tue September 16, 2025 09:42 AM
From: Lakshmi Surekha Kovvuri
Subject: Dnf Not working
Hi Sumudu,
Could you please share the output of the below commands.
ls -l /opt/freeware/lib/libgcc_s.a
ls -l /opt/freeware/libdnfdeps/libgcc_s.a
rpm -qa
------------------------------
Lakshmi Surekha Kovvuri
Original Message:
Sent: Tue September 16, 2025 04:52 AM
From: Sumudu Tissera
Subject: Dnf Not working
Hi,
I have installed dnf using dnf_aixtoolbox.sh script on AIX 7200-05-05-2246. But after installing tried using dnf update and bellow error came.
root@abc:/aix/heshan # dnf update
Traceback (most recent call last):
File "/opt/freeware/bin/dnf", line 57, in <module>
from dnf.cli import main
File "/opt/freeware/lib/python3.9/site-packages/dnf/__init__.py", line 30, in <module>
import dnf.base
File "/opt/freeware/lib/python3.9/site-packages/dnf/base.py", line 29, in <module>
import libdnf.transaction
File "/opt/freeware/lib/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
from . import common_types
File "/opt/freeware/lib/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
from . import _common_types
ImportError: 0509-022 Cannot load module /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so.
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 /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so.
0509-150 Dependent module /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so could not be loaded.
Can any one help me with this issue.
Thanks
------------------------------
Sumudu Tissera
------------------------------