You are having very old level of gcc. I am not sure how things are working.
Also I am not sure if these packages are from AIX toolbox.
You should update to latest level of packages from AIX toolbox.
Original Message:
Sent: 8/14/2023 9:34:00 PM
From: Tulasiram Morusu
Subject: RE: DNF issue
Hi Sanket,
here is the requested out put.
# rpm -qa
apr-1.5.2-2.ppc
apr-util-ldap-1.5.4-3.ppc
bzip2-1.0.6-1.ppc
curl-7.54.0-1.ppc
db4-4.8.30-1.ppc
ganglia-lib-3.7.1-1.ppc
ganglia-mod_ibmame-3.7.1-1.ppc
ganglia-mod_ibmfc-3.7.1-1.ppc
ganglia-p6-gmond-3.7.1-1.ppc
ganglia-p6-mod_ibmrperf-3.7.1-3.ppc
gcc-c++-4.8.3-1.ppc
gdb-7.3-2.ppc
glib2-2.34.3-1.ppc
gnupg-1.4.18-1.ppc
info-5.0-1.ppc
libffi-3.2.1-2.ppc
libgcc-4.8.3-1.ppc
libidn-devel-1.33-1.ppc
libssh2-1.8.0-1.ppc
libssh2-docs-1.8.0-1.ppc
libstdc++-devel-4.8.3-1.ppc
mpfr-3.1.2-1.ppc
pcre-8.39-1.ppc
prngd-0.9.29-1.ppc
tcsh-6.11-3.ppc
vnc-3.3.3r2-6.ppc
zip-2.3-3.ppc
zlib-devel-1.2.11-1.ppc
sudo-1.8.21p2-1.ppc
gdbm-1.13-1.ppc
perl-IO-Tty-1.07-1.ppc
wazuh-agent-4.1.2-1.ppc
python3-3.9.16-0.ppc
libmodulemd-1.5.2-32_2.ppc
rpm-python3.9-4.15.1-32_2.ppc
zchunk-libs-1.1.4-32_2.ppc
libdnf-0.39.1-32_3.ppc
python3.9-hawkey-0.39.1-32_3.ppc
python3.9-librepo-1.11.0-32_2.ppc
p11-kit-tools-0.23.22-0.ppc
python3.9-libcomps-0.1.15-32_1.ppc
python3.9-dnf-4.2.17-32_4.noarch
dnf-4.2.17-32_4.noarch
python3-libcomps-0.1.15-32_1.ppc
python3-librepo-1.11.0-32_2.ppc
python3-hawkey-0.39.1-32_3.ppc
rpm-python3-4.15.1-32_2.ppc
AIX-rpm-7.2.3.15-16.ppc
apr-util-1.5.4-3.ppc
bash-4.2-3.ppc
coreutils-5.2.1-2.ppc
curl-devel-7.54.0-1.ppc
expat-2.2.0-1.ppc
ganglia-mod_aixdisk-3.7.1-1.ppc
ganglia-mod_ibmams-3.7.1-1.ppc
ganglia-mod_ibmnet-3.7.1-1.ppc
ganglia-p6-mod_ibmpower-3.7.1-1.ppc
gcc-4.8.3-1.ppc
gcc-cpp-4.8.3-1.ppc
gettext-0.10.40-8.ppc
gmp-6.0.0a-1.ppc
grep-2.5.1-1.ppc
libconfuse-2.7-1.ppc
libffi-devel-3.2.1-2.ppc
libiconv-1.14-3.ppc
libmpc-1.0.2-1.ppc
libssh2-devel-1.8.0-1.ppc
libstdc++-4.8.3-1.ppc
lynx-2.8.4-2.ppc
ncftp-3.1.1-3.ppc
pkg-config-0.28-1.ppc
readline-7.0-2.ppc
tar-1.14-2.ppc
unzip-64bit-6.0-5.ppc
wget-1.9.1-1.ppc
zlib-1.2.11-1.ppc
openldap-2.4.44-0.1.ppc
perl-5.8.8-2.ppc
python3.9-3.9.16-0.ppc
libzstd-1.4.4-32_1.ppc
libsolv-0.7.9-32_3.ppc
libsmartcols-2.34-32_1.ppc
librepo-1.11.0-32_2.ppc
python3.9-libdnf-0.39.1-32_3.ppc
python3.9-gpg-1.13.1-32_3.ppc
p11-kit-0.23.22-0.ppc
libcomps-0.1.15-32_1.ppc
dnf-data-4.2.17-32_4.noarch
python3-dnf-4.2.17-32_4.noarch
dnf-automatic-4.2.17-32_4.noarch
ca-certificates-2023.2.60-0.ppc
python3-gpg-1.13.1-32_3.ppc
python3-libdnf-0.39.1-32_3.ppc
------------------------------
Tulasiram Morusu
------------------------------
Original Message:
Sent: Mon August 14, 2023 10:41 AM
From: SANKET RATHI
Subject: DNF issue
Looks like you have some other gcc and packages on your system than AIX toolbox.
Can you share "rpm -qa" output
Original Message:
Sent: 8/10/2023 10:00:00 PM
From: Tulasiram Morusu
Subject: RE: DNF issue
Hi Sanket,
Thank you.
However, I'm getting error post openssl removal...ran updtvpkg and tried.
#/opt/freeware/bin/dnf install clamav*
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/libdnf.a(libdnf.so.2) because:
Symbol _GLOBAL__AIXI_shr_o (number 4) is not exported from dependent
module /opt/freeware/lib/pthread/libgcc_s.a(shr.o).
Symbol _GLOBAL__AIXD_shr_o (number 5) is not exported from dependent
module /opt/freeware/lib/pthread/libgcc_s.a(shr.o).
Symbol atexit (number 15) is not exported from dependent
module /opt/freeware/lib/pthread/libgcc_s.a(shr.o).
Symbol _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev (number 293) is not exported from dependent
module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6).
Symbol _ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev (number 294) is not exported from dependent
module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6).
Symbol _ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev (number 295) is not exported from dependent
module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6).
Additional errors occurred but are not reported.
Examine .loader section symbols with the 'dump -Tv' command.
------------------------------
Tulasiram Morusu
Original Message:
Sent: Thu August 10, 2023 12:42 PM
From: SANKET RATHI
Subject: DNF issue
Looks like you have another openssl installed on your system than AIX shipped in /opt/freeware/lib
Please remove openssl rpm installed on your system (if you can) and try.
Original Message:
Sent: 8/9/2023 7:01:00 AM
From: Tulasiram Morusu
Subject: DNF issue
Hi
The dnf package has been installed successfully using script, however after installation when I run "dnf update" getting below error related to python3.9 , can you suggest what could the issue to resolve. Thanks
root@pxxx11071:/home/tmorusu/dnf # 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: Could not load module /opt/freeware/lib/libdnf.a(libdnf.so.2).
Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
Member libcrypto.so.1.1 is not found in archive
Could not load module /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so.
Dependent module /opt/freeware/lib/libdnf.a(libdnf.so.2) could not be loaded.
************************************************
DNF installation message
dnf installed successfully.
Please run 'dnf update' to update packages to the latest level.
Please note, RPM packages are downloaded in dnf cache /var/cache/dnf.
RPM packages install files go under the path /opt.
Hence it is recommended to always keep at least 512MB of free space in /var & /opt
to avoid any download and installation/update failures.
****************************************************************************************
------------------------------
Tulasiram Morusu
------------------------------