Thanks for that. Will do and update you.
Original Message:
Sent: Fri September 12, 2025 02:31 AM
From: Aditya Kamath
Subject: dnf repolist error
Hi,
> File "/opt/freeware/lib64/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
> from . import _common_types
> ImportError: 0509-022 Cannot load module /opt/freeware/lib64/libdnf.a(libdnf.so.2).
> 0509-150 Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
> 0509-152 Member libcrypto.so.1.1 is not found in archive
When you see this type of a problem with libcrypto it means you have an older openssl rpm installed. Toolbox now uses openssl from AIX base.
So do rpm -qa | grep openssl and then remove the rpm using rpm -e <rpm_name> where rpm_name is the output of the rpm -qa | grep openssl command.
------------------------------
Aditya Kamath
Original Message:
Sent: Fri September 12, 2025 02:19 AM
From: Shahir Ali FR
Subject: dnf repolist error
Dear Team
I am getting below error after the successful installation of dnf ( # dnf install )
root@AIXHost3:/# dnf repolist
ksh: dnf: not found.
root@AIXHost3:/# /opt/freeware/bin/dnf repolist
Traceback (most recent call last):
File "/opt/freeware/bin/dnf", line 58, 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/lib64/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
from . import common_types
File "/opt/freeware/lib64/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
from . import _common_types
ImportError: 0509-022 Cannot load module /opt/freeware/lib64/libdnf.a(libdnf.so.2).
0509-150 Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
0509-152 Member libcrypto.so.1.1 is not found in archive
root@AIXHost3:/#
root@AIXHost3:/# /opt/freeware/bin/dnf update
Traceback (most recent call last):
File "/opt/freeware/bin/dnf", line 58, 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/lib64/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
from . import common_types
File "/opt/freeware/lib64/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
from . import _common_types
ImportError: 0509-022 Cannot load module /opt/freeware/lib64/libdnf.a(libdnf.so.2).
0509-150 Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
0509-152 Member libcrypto.so.1.1 is not found in archive
root@AIXHost3:/#
Thanks
Shahir
------------------------------
Shahir Ali FR
------------------------------