Yes, that finally helped.
Sangamesh, thank you very much for perfect support, I very much appreciate your help!
Original Message:
Sent: Mon May 20, 2024 01:12 PM
From: SANGAMESH MALLAYYA
Subject: AIX Toolbox - DNF not running after AIX and Toolbox update
You need to remove openssl rpm package which is installed from third party or you can move
/opt/freeware/lib/libssl.a & /opt/freeware/lib/libcrypto.a
------------------------------
SANGAMESH
Original Message:
Sent: Mon May 20, 2024 12:57 PM
From: Ales Slezak
Subject: AIX Toolbox - DNF not running after AIX and Toolbox update
fsczpga01512:/mnt/RPMS/ppc-7.2# unset LIBPATH
fsczpga01512:/mnt/RPMS/ppc-7.2# echo $LIBPATH
fsczpga01512:/mnt/RPMS/ppc-7.2# /opt/freeware/bin/dnf
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: 0509-022 Cannot load module /opt/freeware/lib/libcurl.a(libcurl.so.4).
0509-150 Dependent module /opt/freeware/lib/libssl.a(libssl.so.1.1) could not be loaded.
0509-152 Member libssl.so.1.1 is not found in archive
0509-022 Cannot load module /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so.
0509-150 Dependent module /opt/freeware/lib/libcurl.a(libcurl.so.4) could not be loaded.
------------------------------
Ales Slezak
Original Message:
Sent: Mon May 20, 2024 12:46 PM
From: SANGAMESH MALLAYYA
Subject: AIX Toolbox - DNF not running after AIX and Toolbox update
Verify if you have any LIBPATH set and try running dnf without any LIBPATH.
------------------------------
SANGAMESH
Original Message:
Sent: Mon May 20, 2024 12:43 PM
From: Ales Slezak
Subject: AIX Toolbox - DNF not running after AIX and Toolbox update
After successfull run of dnf update, dnf stopped working again with error:
fsczpga01512:/mnt/RPMS/ppc-7.2# /opt/freeware/bin/dnf
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: 0509-022 Cannot load module /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so.
0509-150 Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
0509-152 Member libiconv.so.2 is not found in archive
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.
------------------------------
Ales Slezak
Original Message:
Sent: Mon May 20, 2024 11:50 AM
From: Ales Slezak
Subject: AIX Toolbox - DNF not running after AIX and Toolbox update
EDIT: This issue was solved by setting LIBPATH=/usr/lib . But another issue follows...
That worked perfect on my test system, thank you!!! Then I moved to other system, made same steps, but another issue pops up:
fsczpga01512:/mnt/RPMS/ppc-7.2# /opt/freeware/bin/dnf
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: 0509-022 Cannot load module /opt/freeware/lib/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
0509-022 Cannot load module /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so.
0509-150 Dependent module /opt/freeware/lib/libdnf.a(libdnf.so.2) could not be loaded.
Could you please take a look also at this?
Thank you very much!
------------------------------
Ales Slezak
Original Message:
Sent: Mon May 20, 2024 11:25 AM
From: SANGAMESH MALLAYYA
Subject: AIX Toolbox - DNF not running after AIX and Toolbox update
Hi Ales,
You have to provide all 4 rpm packages in a single update command.
rpm -Uvh libgcc10-10.3.0-6.aix7.2.ppc.rpm libgcc-10-2.. libstdc++10-10.3.0-6... libstdc++-10-2...
------------------------------
SANGAMESH
Original Message:
Sent: Mon May 20, 2024 11:05 AM
From: Ales Slezak
Subject: AIX Toolbox - DNF not running after AIX and Toolbox update
Seems I'm a bit locked here...:
fsczpga01511:/mnt/RPMS# find . | grep -i libgcc | grep -i 10.3.0
./ppc-7.1/libgcc10-10.3.0-6.aix7.1.ppc.rpm
./ppc-7.2/libgcc10-10.3.0-6.aix7.2.ppc.rpm
./ppc-7.3/libgcc10-10.3.0-6.aix7.3.ppc.rpm
fsczpga01511:/mnt/RPMS# rpm -ivh ./ppc-7.2/libgcc10-10.3.0-6.aix7.2.ppc.rpm
error: Failed dependencies:
libgcc <= 9.1.0 conflicts with libgcc10-10.3.0-6.ppc
fsczpga01511:/mnt/RPMS# rpm -qa | grep -i libgcc
libgcc-4.8.2-1.ppc
fsczpga01511:/mnt/RPMS# rpm -e libgcc-4.8.2-1.ppc
error: Failed dependencies:
libgcc >= 4.2.3-2 is needed by (installed) gmp-5.1.3-1.ppc
libgcc is needed by (installed) libstdc++-4.8.2-1.ppc
------------------------------
Ales Slezak
Original Message:
Sent: Mon May 20, 2024 10:03 AM
From: SANGAMESH MALLAYYA
Subject: AIX Toolbox - DNF not running after AIX and Toolbox update
Hi Ales,
Your libgcc & libstdc++ is very old.
The current default ones are 10.3.0.
# rpm -qa | egrep "libgcc|libstdc"
libgcc-10-2.ppc
libgcc10-10.3.0-6.ppc
libstdc++10-10.3.0-6.ppc
libstdc++-10-2.ppc
You can probably update them manually from the repository you have.
------------------------------
SANGAMESH
Original Message:
Sent: Mon May 20, 2024 09:55 AM
From: Ales Slezak
Subject: AIX Toolbox - DNF not running after AIX and Toolbox update
Hi Sangamesh,
fsczpga01511:/root# ls -l /opt/freeware/lib/pthread/libgcc_s.a
lrwxrwxrwx 1 root system 54 Mar 01 17:54 /opt/freeware/lib/pthread/libgcc_s.a -> ../gcc/powerpc-ibm-aix6.1.0.0/4.8.2/pthread/libgcc_s.a
fsczpga01511:/root# ls -l /opt/freeware/lib/pthread/libstdc++.a
lrwxrwxrwx 1 root system 55 Mar 01 17:54 /opt/freeware/lib/pthread/libstdc++.a -> ../gcc/powerpc-ibm-aix6.1.0.0/4.8.2/pthread/libstdc++.a
fsczpga01511:/root# rpm -qa | egrep "libgcc|libstdc"
libstdc++-4.8.2-1.ppc
libgcc-4.8.2-1.ppc
fsczpga01511:/root# rpm -qa | grep libdnf
python3.9-libdnf-0.39.1-32_3.ppc
libdnf-0.39.1-32_3.ppc
python3-libdnf-0.39.1-32_3.ppc
------------------------------
Ales Slezak
Original Message:
Sent: Mon May 20, 2024 09:46 AM
From: SANGAMESH MALLAYYA
Subject: AIX Toolbox - DNF not running after AIX and Toolbox update
Hi Ales,
Can you let me know the output of
ls -l /opt/freeware/lib/pthread/libgcc_s.a
ls -l /opt/freeware/lib/pthread/libstdc++.a
rpm -qa | egrep "libgcc|libstdc"
rpm -qa | grep libdnf
------------------------------
SANGAMESH
Original Message:
Sent: Mon May 20, 2024 07:38 AM
From: Ales Slezak
Subject: AIX Toolbox - DNF not running after AIX and Toolbox update
I've update AIX from 7200-04 to 7200-05-07-2346, I've also updateted AIX Toolbox to latest available version.
I've succesfully instaled local repository (by running dnf_aixtoolbox_local.sh).
But dnf is not working since then, the error is:
fsczpga01511:/root# /opt/freeware/bin/dnf
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: 0509-130 Symbol resolution failed for /opt/freeware/lib/libdnf.a(libdnf.so.2) because:
0509-136 Symbol _GLOBAL__AIXI_shr_o (number 4) is not exported from
dependent module /opt/freeware/lib/pthread/libgcc_s.a(shr.o).
0509-136 Symbol _GLOBAL__AIXD_shr_o (number 5) is not exported from
dependent module /opt/freeware/lib/pthread/libgcc_s.a(shr.o).
0509-136 Symbol atexit (number 15) is not exported from
dependent module /opt/freeware/lib/pthread/libgcc_s.a(shr.o).
0509-136 Symbol _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev (number 293) is not exported from
dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6).
0509-136 Symbol _ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev (number 294) is not exported from
dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6).
0509-136 Symbol _ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev (number 295) is not exported from
dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6).
0509-021 Additional errors occurred but are not reported.
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
fsczpga01511:/root#
I've tried reinstall and a few tweaks found on this forum, but found no solution. Did someone run into this issue too?
Thank you very much in advance.
------------------------------
Ales Slezak
------------------------------