Original Message:
Sent: Mon June 16, 2025 09:51 AM
From: José Pina Coelho
Subject: Not able to run DNF update command after AIX 7.2 to 7.3
If their syncsort needs that library, then their syncsort should be launched with the required LIBPATH.
What should never happen is having a system-wide LIBPATH that doesn't start with /usr/lib (or that contains ::), since that's almost guaranteed to cause trouble in multiple places.
Does their syncsort works when LIBPATH=/usr/lib:/opt/microfocus/cobol/lib:/software/syncsort/lib ?
------------------------------
José Pina Coelho
IT Specialist at Kyndryl
Original Message:
Sent: Mon June 16, 2025 07:50 AM
From: Manoj Kumar
Subject: Not able to run DNF update command after AIX 7.2 to 7.3
Yes Ranjit,
We have checked and it is there under the environment. But if we remove this path from the environment their syncsort app doesn't work. It seems it is calling their library from this path.
: root] /> echo $LIBPATH
/opt/microfocus/cobol/lib::/software/syncsort/lib
: root] /> env|grep -i syncsort
MANPATH=${MANPATH}::/software/syncsort/man
PATH=/usr/java8_64/jre/bin:/usr/local/bin:/opt/microfocus/cobol/bin:/usr/java8_64/bin:/usr/java7/jre/bin:/usr/java7/bin:/usr/java14/jre/bin:/usr/java14/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/opt/freeware/bin:/software/syncsort/bin:/sys1/admin/scripts:/software/ndm/ndm/bin:/usr/lbin:/usr/local/bin:/software/tws/bin:/opt/TWS/CLI/bin:/software/tws/bin:/usr/opt/ifor/ls/os/aix/bin:/opt/LicenseUseManagement/bin
LIBPATH=/opt/microfocus/cobol/lib::/software/syncsort/lib
Regards
Manoj
------------------------------
Manoj Kumar
Original Message:
Sent: Thu June 12, 2025 09:36 AM
From: Ranjit Ranjan
Subject: Not able to run DNF update command after AIX 7.2 to 7.3
Hi Manoj,
Hope, you were able to figure out from above output that , dnf is using /software/syncsort/lib/libstdc++.a which means in your environment LIBPATH is set.
Try unsetting and run dnf .
Thanks
Ranjit
------------------------------
Ranjit Ranjan
Original Message:
Sent: Mon June 09, 2025 07:53 AM
From: Manoj Kumar
Subject: Not able to run DNF update command after AIX 7.2 to 7.3
Hi Team,
We are getting following errors after OS upgrade from 7.2 to 7.3. Do we any solution for this?
/> /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 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/software/syncsort/lib/libstdc++.a (number libstdc++.so.6) is not exported from dependent
module 460(/software/syncsort/lib/libstdc++.a).
Symbol _ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE (number 459) is not exported from dependent
module /software/syncsort/lib/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 /software/syncsort/lib/libstdc++.a(libstdc++.so.6).
Symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm/software/syncsort/lib/libstdc++.a (number libstdc++.so.6) is not exported from dependent
module 457(/software/syncsort/lib/libstdc++.a).
Symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_/software/syncsort/lib/libstdc++.a (number libstdc++.so.6) is not exported from dependent
module 456(/software/syncsort/lib/libstdc++.a).
Symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcmRKS3_ (number 455) is not exported from dependent
module /software/syncsort/lib/libstdc++.a(libstdc++.so.6).
Additional errors occurred but are not reported.
Examine .loader section symbols with the 'dump -Tv' command.
------------------------------
Manoj Kumar
------------------------------