Original Message:
Sent: Thu March 26, 2026 03:37 AM
From: Shahir Ali FR
Subject: Error while DNF Update
Waiting for the reply
------------------------------
Shahir Ali FR
Original Message:
Sent: Thu March 26, 2026 01:29 AM
From: Shahir Ali FR
Subject: Error while DNF Update
Hi Parth
Did the actions you mentioned
But getting the below error
root@Host163:/>> /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: Symbol _GLOBAL__AIXD_libstdc___so (number 316) is not exported from dependent
module /opt/freeware/lib64/libstdc++.a(libstdc++.so.6).
Symbol _GLOBAL__AIXI_libstdc___so (number 315) is not exported from dependent
module /opt/freeware/lib64/libstdc++.a(libstdc++.so.6).
Symbol resolution failed for /opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so because:
Symbol _ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE/opt/freeware/lib64/libstdc++.a (number libstdc++.so.6) is not exported from dependent
module 460(/opt/freeware/lib64/libstdc++.a).
Symbol _ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE (number 459) is not exported from dependent
module /opt/freeware/lib64/libstdc++.a(libstdc++.so.6).
Symbol _ZN9__gnu_cxxeqIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESD_ (number 458) is not exported from dependent
module /opt/freeware/lib64/libstdc++.a(libstdc++.so.6).
Symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm/opt/freeware/lib64/libstdc++.a (number libstdc++.so.6) is not exported from dependent
module 457(/opt/freeware/lib64/libstdc++.a).
Additional errors occurred but are not reported.
Examine .loader section symbols with the 'dump -Tv' command.
root@Host163:/>>
Thanks
------------------------------
Shahir Ali FR
Original Message:
Sent: Tue March 17, 2026 06:11 AM
From: Parth Patel
Subject: Error while DNF Update
Hi Shahir,
Please follow the below steps:
rpm -e openssl --nodeps
rm /opt/freeware/lib/pthread/libstdc++.a
rpm -e libdnf python3.9-libdnf python3.9-hawkey python3-libdnf python3-hawkey --nodeps
Then setup the DNF again by running the DNF install script and try running the DNF.
You can migrate to python3.12 ecosystem. Follow the below link.
https://community.ibm.com/community/user/discussion/migrating-to-python312-for-aix-toolbox-python3-ecosystem
------------------------------
Parth Patel
Original Message:
Sent: Mon March 16, 2026 10:14 PM
From: Shahir Ali FR
Subject: Error while DNF Update
Dear Team
I am getting above error while I am running dnf update.
I tried removing openssl-1.0.1e-2.ppc but getting above dependencies failure .
Thanks
------------------------------
Shahir Ali FR
Original Message:
Sent: Mon March 16, 2026 10:12 PM
From: Shahir Ali FR
Subject: Error while DNF Update
root@Host163:/>> /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: Could not load module /opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so.
Dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6) could not be loaded.
The module has an invalid magic number.
root@Host163:/>> rpm -qa | grep openssl
openssl-1.0.1e-2.ppc
root@Host163:/>> rpm -e openssl-1.0.1e-2.ppc
error: Failed dependencies:
libcrypto.a(libcrypto.so.0.9.8) is needed by (installed) net-snmp-5.7.2-1.ppc
libcrypto.a(libcrypto.so.0.9.8) is needed by (installed) libevent-2.0.21-1.ppc
libcrypto.a(libcrypto.so.0.9.8) is needed by (installed) tripwire-2.4.2.2-1.ppc
libcrypto.a(libcrypto.so.1.0.1) is needed by (installed) libssh-0.5.5-1.ppc
libcrypto.a(libcrypto.so.1.0.1) is needed by (installed) libssh2-1.4.3-2.ppc
libcrypto.so is needed by (installed) net-snmp-5.7.2-1.ppc
libcrypto.so is needed by (installed) net-snmp-utils-5.7.2-1.ppc
libcrypto.so is needed by (installed) ruby-2.0.0.353-1.ppc
libcrypto.so is needed by (installed) syslog-ng-3.2.5-1.ppc
libcrypto.so is needed by (installed) net-snmp-perl-5.7.2-1.ppc
libcrypto.so is needed by (installed) python-2.7.5-1.ppc
libssl.a(libssl.so.0.9.8) is needed by (installed) libevent-2.0.21-1.ppc
libssl.so is needed by (installed) ruby-2.0.0.353-1.ppc
libssl.so is needed by (installed) syslog-ng-3.2.5-1.ppc
libssl.so is needed by (installed) python-2.7.5-1.ppc
openssl >= 1.0.1 is needed by (installed) libssh-0.5.5-1.ppc
openssl >= 0.9.8 is needed by (installed) net-snmp-5.7.2-1.ppc
openssl >= 1.0.1 is needed by (installed) ruby-2.0.0.353-1.ppc
openssl >= 0.9.8 is needed by (installed) syslog-ng-3.2.5-1.ppc
openssl >= 0.9.8 is needed by (installed) libevent-2.0.21-1.ppc
openssl >= 1.0.1 is needed by (installed) libssh2-1.4.3-2.ppc
openssl >= 1.0.1 is needed by (installed) python-2.7.5-1.ppc
openssl >= 0.9.8 is needed by (installed) tripwire-2.4.2.2-1.ppc
root@Host163:/>>
------------------------------
Shahir Ali FR
------------------------------