Hi Team,
We get the below error while dnf update on AIX 7.2, please assist to fix it
# /opt/freeware/bin/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 32, 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: Symbol resolution failed for /opt/freeware/lib/libsolv.a(libsolv.so.1) because:
Symbol _GLOBAL__AIXI_libbz2_so (number 62) is not exported from dependent
module /usr/opt/rpm/lib/libbz2.a(libbz2.so.1).
Symbol _GLOBAL__AIXD_libbz2_so (number 63) is not exported from dependent
module /usr/opt/rpm/lib/libbz2.a(libbz2.so.1).
Could not load module /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so.
System error: Exec format error
Examine .loader section symbols with the 'dump -Tv' command.
Regards,
Ramkumar
------------------------------
Ram Kumar
------------------------------