AIX Open Source

 View Only

 error installing git from AIX Tool Box in AIX 7.2

Shashi basappa's profile image
Shashi basappa posted Fri June 27, 2025 12:47 AM

Hi I am trying to install git hub from AIX tool box but aix tool box repolist itself is giving error.i tried to download source file and tried to install its giving dependies list.kindly help me to install GIT on AIX 7.2

------------------------------------------------------------------------------------------------------------------------------------

{hostname} /home/root $ /opt/freeware/bin/dnf repolist
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-130 Symbol resolution failed for /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6) 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-021 Additional errors occurred but are not reported.
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.
{hostname} /home/root $ oslevel -s
7200-05-09-2446

------------------------------------------------------------------------------------------------------------------

{hostname} /home/root $ rpm -ivh git-2.41.0-2.aix7.1.ppc.rpm
warning: git-2.41.0-2.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
error: Failed dependencies:
        gettext >= 0.21 is needed by git-2.41.0-2.ppc
        git-core = 2.41.0-2 is needed by git-2.41.0-2.ppc
        git-core-doc = 2.41.0-2 is needed by git-2.41.0-2.ppc
        less >= 661 is needed by git-2.41.0-2.ppc
        libiconv >= 1.17 is needed by git-2.41.0-2.ppc
        python3 >= 3.9.20 is needed by git-2.41.0-2.ppc
        rsync >= 3.3.0 is needed by git-2.41.0-2.ppc
        zlib >= 1.2.13 is needed by git-2.41.0-2.ppc

-------------------------------------------------------------------------------------------------------------