AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  Error in AIX tool box in AIX 7.2

    Posted 9 days ago

    Hi I Tried to configure repo to install git bit repolist itself is giving error.and also i tried to download source file of GIt and tried to install it is asking for dependent packages.kindly help me to install GIt.Posting errors

    {Hydrabad_template_7_2_xlc} /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.
    {Hydrabad_template_7_2_xlc} /home/root $ oslevel -s
    7200-05-09-2446
    {Hydrabad_template_7_2_xlc} /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

    Thanks

    Shashi basappa



    ------------------------------
    Shashi basappa
    ------------------------------


  • 2.  RE: Error in AIX tool box in AIX 7.2

    Posted 9 days ago

    Hi,

    One needs to understand why dnf is not working. DNF needs to work first.


    What is the output of

    rpm -qa | grep gcc

    gcc --version

    and

    echo $LIBPATH



    ------------------------------
    Aditya Kamath
    ------------------------------