Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
Expand all | Collapse all

dnf repolist error

  • 1.  dnf repolist error

    Posted Thu January 22, 2026 02:55 AM

    Dear Team,

    I am getting below error while running dnf repolist and update after the DNF installation .

    root@AIXHost:/>> /opt/freeware/bin/dnf repolist
    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: Could not load module /opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so.
            Dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6) could not be loaded.
            The module has an invalid magic number.
    root@AIXHost:/>> /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: Could not load module /opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so.
            Dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6) could not be loaded.
            The module has an invalid magic number.
    root@AIXHost:/>>

    Thanks

    Shahir

    @Aditya Kamath  @Ranjit Ranjan @SANGAMESH MALLAYYA



    ------------------------------
    Shahir Ali FR
    ------------------------------


  • 2.  RE: dnf repolist error

    Posted Thu January 22, 2026 03:58 AM

    Hi Shahir,

    Can you tell us how DNF was installed, as the present DNF is Python 3.12–based?



    ------------------------------
    Lakshmi Surekha Kovvuri
    ------------------------------



  • 3.  RE: dnf repolist error

    Posted Thu January 22, 2026 09:54 PM

    Hi Lakshmi

    I have downloaded this ESD-Toolbox_for_Linux_Apps_Common_7.2-7.3_122024_LCD4107740.iso   and NFS mounted and installing on our AIX 7.3 LPARs.

    Thanks

    Shahir



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 4.  RE: dnf repolist error

    Posted Fri January 23, 2026 05:26 AM
    Hi Shahir,
     
    Can you please try with ESD-Toolbox_for_Linux_Apps_Common_7.2-7.3_122025_LCD4107742.iso as this one has python3.12 ecosystem packages.


    ------------------------------
    Lakshmi Surekha Kovvuri
    ------------------------------



  • 5.  RE: dnf repolist error

    Posted Tue January 27, 2026 08:32 PM

    Hi Lakshmi,

    Can we have any work around with the old iso itself please?

    Thanks

    Shahir



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 6.  RE: dnf repolist error

    Posted Wed January 28, 2026 11:30 PM
    Edited by Shahir Ali FR Wed January 28, 2026 11:30 PM

    @Aditya Kamath  @Ranjit Ranjan @SANGAMESH MALLAYYA

    Team,

    Getting this on another server now.

    :/>> /opt/freeware/bin/dnf repolist

    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: Could not load module /opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so.

    Dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6) could not be loaded.

    The module has an invalid magic number.

    root@

    Thanks



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 7.  RE: dnf repolist error

    Posted Thu January 29, 2026 12:58 AM

    Hi Shahir,

    is the above error not the same discussed on https://community.ibm.com/community/user/question/dnf-repolist-and-dnf-update-error#148ec55c-d8a8-4b8c-9e80-01981274bb6f.
    Can you try following same debugging steps .

    Thanks
    Ranjit




    ------------------------------
    Ranjit Ranjan
    ------------------------------



  • 8.  RE: dnf repolist error

    Posted Thu February 05, 2026 12:12 AM

    Hi Ranjit,

    I did that , but it keeps on going on a loop...see below

    root@Hostname:/>> rpm -e libgcc
    error: Failed dependencies:
            libgcc >= 4.2.3-2 is needed by (installed) glib2-2.36.3-1.ppc
    root@Hostname:/>> rpm -e glib2-2.36.3-1.ppc
    error: Failed dependencies:
            libglib-2.0.a(libglib-2.0.so.0) is needed by (installed) gettext-0.17-1.ppc
    root@Hostname:/>> rpm -e gettext-0.17-1.ppc
    error: Failed dependencies:
            gettext is needed by (installed) glib2-2.36.3-1.ppc
            gettext is needed by (installed) libiconv-1.14-2.ppc
    root@Hostname:/>> rpm -e libiconv-1.14-2.ppc
    error: Failed dependencies:
            libiconv.a(libiconv.so.2) is needed by (installed) glib2-2.36.3-1.ppc
            libiconv >= 1.14-2 is needed by (installed) glib2-2.36.3-1.ppc
    root@Hostname:/>> rpm -e glib2-2.36.3-1.ppc
    error: Failed dependencies:
            libglib-2.0.a(libglib-2.0.so.0) is needed by (installed) gettext-0.17-1.ppc
    root@Hostname:/>> rpm -e gettext-0.17-1.ppc
    error: Failed dependencies:
            gettext is needed by (installed) glib2-2.36.3-1.ppc
            gettext is needed by (installed) libiconv-1.14-2.ppc
    root@Hostname:/>> rpm -e libiconv-1.14-2.ppc
    error: Failed dependencies:
            libiconv.a(libiconv.so.2) is needed by (installed) glib2-2.36.3-1.ppc
            libiconv >= 1.14-2 is needed by (installed) glib2-2.36.3-1.ppc
    root@Hostname:/>>

    Thanks



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 9.  RE: dnf repolist error

    Posted Thu February 05, 2026 02:39 AM

    root@Hostname:/mnt1/RPMS/ppc-7.3>> 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: Could not load module /opt/freeware/lib64/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
    root@Hostname:/mnt1/RPMS/ppc-7.3>> rpm -qa | grep openssl
    openssl-1.0.1e-2.ppc
    root@Hostname:/mnt1/RPMS/ppc-7.3>> rpm -e openssl-1.0.1e-2.ppc
    error: Failed dependencies:
            libcrypto.a(libcrypto.so.0.9.8) is needed by (installed) net-snmp-5.7.2-1.ppc
            libcrypto.a(libcrypto.so.0.9.8) is needed by (installed) libevent-2.0.21-1.ppc
            libcrypto.a(libcrypto.so.1.0.1) is needed by (installed) libssh-0.5.5-1.ppc
            libcrypto.a(libcrypto.so.1.0.1) is needed by (installed) libssh2-1.4.3-2.ppc
            libcrypto.so is needed by (installed) net-snmp-5.7.2-1.ppc
            libcrypto.so is needed by (installed) net-snmp-utils-5.7.2-1.ppc
            libcrypto.so is needed by (installed) net-snmp-perl-5.7.2-1.ppc
            libssl.a(libssl.so.0.9.8) is needed by (installed) libevent-2.0.21-1.ppc
            openssl >= 1.0.1 is needed by (installed) libssh-0.5.5-1.ppc
            openssl >= 0.9.8 is needed by (installed) net-snmp-5.7.2-1.ppc
            openssl >= 0.9.8 is needed by (installed) libevent-2.0.21-1.ppc
            openssl >= 1.0.1 is needed by (installed) libssh2-1.4.3-2.ppc
    root@Hostname:/mnt1/RPMS/ppc-7.3>>



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 10.  RE: dnf repolist error

    Posted Thu February 05, 2026 02:41 AM

    root@Hostname:/mnt1/RPMS/ppc-7.3>> rpm -qa |grep -i libgcc
    libgcc-10-2.ppc
    libgcc12-12.3.0-1.ppc
    libgcc10-10.3.0-6.ppc
    libgcc8-8.3.0-7.ppc
    libgcc11-11.3.0-1.ppc
    root@Hostname:/mnt1/RPMS/ppc-7.3>> rpm -qa|grep -i libstdc
    libstdc++10-10.3.0-6.ppc
    libstdc++10-devel-10.3.0-6.ppc
    libstdc++12-12.3.0-1.ppc
    libstdc++11-devel-11.3.0-1.ppc
    libstdc++8-devel-8.3.0-7.ppc
    libstdc++-10-2.ppc
    libstdc++8-8.3.0-7.ppc
    libstdc++11-11.3.0-1.ppc
    libstdc++12-devel-12.3.0-1.ppc
    libstdc++-devel-10-2.ppc
    root@Hostname:/mnt1/RPMS/ppc-7.3>> rpm -qa|grep -i libgomp
    libgomp10-10.3.0-6.ppc
    libgomp8-8.3.0-7.ppc
    libgomp11-11.3.0-1.ppc
    libgomp-10-2.ppc
    libgomp12-12.3.0-1.ppc
    root@Hostname:/mnt1/RPMS/ppc-7.3>>



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 11.  RE: dnf repolist error

    Posted Thu February 05, 2026 08:35 AM

    Hi Shahir,

    Which error are you hitting first ?

     Member libcrypto.so.1.1 is not found in archive or the gcc related error.

    Dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6) could not be loaded.

    The module has an invalid magic number.



    ------------------------------
    SANGAMESH
    ------------------------------



  • 12.  RE: dnf repolist error

    Posted Fri February 13, 2026 02:00 AM

    HI

    There are multiples servers I am working now. So let's go one by one. The current one is getting below error.


    root@Host163:/>> /opt/freeware/bin/dnf repolist
    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: Could not load module /opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so.
            Dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6) could not be loaded.
            The module has an invalid magic number.
    root@Host163:/>> rpm -qa | grep openssl
    openssl-1.0.1e-2.ppc
    root@Host163:/>> rpm -e openssl-1.0.1e-2.ppc
    error: Failed dependencies:
            libcrypto.a(libcrypto.so.0.9.8) is needed by (installed) net-snmp-5.7.2-1.ppc
            libcrypto.a(libcrypto.so.0.9.8) is needed by (installed) libevent-2.0.21-1.ppc
            libcrypto.a(libcrypto.so.0.9.8) is needed by (installed) tripwire-2.4.2.2-1.ppc
            libcrypto.a(libcrypto.so.1.0.1) is needed by (installed) libssh-0.5.5-1.ppc
            libcrypto.a(libcrypto.so.1.0.1) is needed by (installed) libssh2-1.4.3-2.ppc
            libcrypto.so is needed by (installed) net-snmp-5.7.2-1.ppc
            libcrypto.so is needed by (installed) net-snmp-utils-5.7.2-1.ppc
            libcrypto.so is needed by (installed) ruby-2.0.0.353-1.ppc
            libcrypto.so is needed by (installed) syslog-ng-3.2.5-1.ppc
            libcrypto.so is needed by (installed) net-snmp-perl-5.7.2-1.ppc
            libcrypto.so is needed by (installed) python-2.7.5-1.ppc
            libssl.a(libssl.so.0.9.8) is needed by (installed) libevent-2.0.21-1.ppc
            libssl.so is needed by (installed) ruby-2.0.0.353-1.ppc
            libssl.so is needed by (installed) syslog-ng-3.2.5-1.ppc
            libssl.so is needed by (installed) python-2.7.5-1.ppc
            openssl >= 1.0.1 is needed by (installed) libssh-0.5.5-1.ppc
            openssl >= 0.9.8 is needed by (installed) net-snmp-5.7.2-1.ppc
            openssl >= 1.0.1 is needed by (installed) ruby-2.0.0.353-1.ppc
            openssl >= 0.9.8 is needed by (installed) syslog-ng-3.2.5-1.ppc
            openssl >= 0.9.8 is needed by (installed) libevent-2.0.21-1.ppc
            openssl >= 1.0.1 is needed by (installed) libssh2-1.4.3-2.ppc
            openssl >= 1.0.1 is needed by (installed) python-2.7.5-1.ppc
            openssl >= 0.9.8 is needed by (installed) tripwire-2.4.2.2-1.ppc
    root@Host163:/>>

    What do you want me to do here? Go on like removing the Libgcc all those things or ?

    Please suggest

    Thank you



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 13.  RE: dnf repolist error

    Posted Tue February 24, 2026 02:01 AM

    HI 

    Any response for this please?

    Thanks



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 14.  RE: dnf repolist error

    Posted Tue February 24, 2026 12:16 PM

    Hi Shahir,

    Let's try to find the The module has an invalid magic number issue first.

    Can you give me the output of "rpm -qa" & "ls -l  /opt/freeware/lib/pthread/libstdc++.a" 



    ------------------------------
    SANGAMESH
    ------------------------------



  • 15.  RE: dnf repolist error

    Posted Tue February 24, 2026 09:25 PM

    root@AIXHost172:/>> rpm -qa
    bzip2-1.0.6-1.ppc
    db4-cxx-4.7.25-2.ppc
    expat-2.1.0-1.ppc
    grep-2.14-1.ppc
    libgomp-4.8.1-1.ppc
    libstdc++-4.8.1-1.ppc
    libxslt-1.1.28-2.ppc
    ncurses-5.9-1.ppc
    p7zip-9.20.1-1.ppc
    popt-1.7-2.ppc
    unrar-4.2.4-1.ppc
    watch-3.2.8-1.ppc
    coreutils-8.21-1.ppc
    db4-utils-4.7.25-2.ppc
    gdbm-1.10-1.ppc
    libiconv-1.14-2.ppc
    info-5.1-1.ppc
    libsigsegv-2.10-1.ppc
    libxml-1.8.17-1.ppc
    libyaml-0.1.4-1.ppc
    netcat-1.10-3.ppc
    pax-3.4-1.ppc
    prngd-0.9.29-1.ppc
    python-reportlab-2.5-1.ppc
    sed-4.2.2-1.ppc
    tar-1.27-1.ppc
    unzip-6.0-2.ppc
    zip-3.0-1.ppc
    openldap-2.4.45-1.ppc
    snowagent-6.2.3-1.noarch
    python3.9-3.9.16-0.ppc
    libzstd-1.4.4-64_2.ppc
    libsolv-0.7.9-64_4.ppc
    zchunk-libs-1.1.4-64_3.ppc
    python3.9-gpg-1.13.1-64_3.ppc
    dnf-data-4.2.17-64_6.noarch
    libdnf-0.39.1-64_5.ppc
    python3.9-hawkey-0.39.1-64_5.ppc
    p11-kit-0.23.22-0.ppc
    libcomps-0.1.15-64_1.ppc
    python3.9-dnf-4.2.17-64_6.noarch
    dnf-4.2.17-64_6.noarch
    yum-4.2.17-64_6.noarch
    ca-certificates-2023.2.60-0.ppc
    python3-hawkey-0.39.1-64_5.ppc
    python3-gpg-1.13.1-64_3.ppc
    bash-4.2-12.ppc
    cpio-2.11-2.ppc
    dos2unix-6.0.3-1.ppc
    gettext-0.17-1.ppc
    glib2-2.36.3-1.ppc
    less-458-1.ppc
    libxml2-2.9.1-1.ppc
    mpfr-3.1.2-1.ppc
    pbzip2-1.1.6-1.ppc
    pth-2.0.7-3.ppc
    python-libs-2.7.5-1.ppc
    readline-6.2-4.ppc
    sqlite-3.7.17-1.ppc
    zlib-1.2.8-1.ppc
    bash-doc-3.2-4.ppc
    db4-4.7.25-2.ppc
    eventlog-0.2.12-1.ppc
    glib-1.2.10-3.ppc
    gmp-5.0.5-1.ppc
    mpfrcx-0.4-1.ppc
    pcre-8.33-1.ppc
    rsync-3.1.0-1.ppc
    vim-minimal-7.4.052-1.ppc
    zsh-5.0.2-1.ppc
    libgcc-7.2.0-1.ppc
    sudo-1.8.15-2.ppc
    AIX-rpm-7.3.1.2-9.ppc
    python3-3.9.16-0.ppc
    libmodulemd-1.5.2-64_2.ppc
    libsmartcols-2.34-64_1.ppc
    librepo-1.11.0-64_2.ppc
    rpm-python3.9-4.15.1-64_4.ppc
    rpm-python3-4.15.1-64_4.ppc
    python3.9-libdnf-0.39.1-64_5.ppc
    python3.9-librepo-1.11.0-64_2.ppc
    p11-kit-tools-0.23.22-0.ppc
    python3.9-libcomps-0.1.15-64_1.ppc
    python3-dnf-4.2.17-64_6.noarch
    dnf-automatic-4.2.17-64_6.noarch
    python3-libcomps-0.1.15-64_1.ppc
    python3-librepo-1.11.0-64_2.ppc
    python3-libdnf-0.39.1-64_5.ppc
    root@AIXHost172:/>> ls -l  /opt/freeware/lib/pthread/libstdc++.a
    lrwxrwxrwx    1 root     system          55 Oct 29 17:30 /opt/freeware/lib/pthread/libstdc++.a -> ../gcc/powerpc-ibm-aix7.1.0.0/4.8.1/pthread/libstdc++.a
    root@AIXHost172:/>>



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 16.  RE: dnf repolist error

    Posted Wed February 25, 2026 08:44 AM

    Hi Shahir,

    libgcc & libstdc++ rpm packages are having different versions and are very old.

    Now to resolve the current issue you can retry this workaround.

    rm /opt/freeware/lib/pthread/libstdc++.a

    rpm -e libdnf python3.9-libdnf python3.9-hawkey python3-libdnf python3-hawkey --nodeps

    Then setup the DNF again by running the DNF install script and try running the DNF.



    ------------------------------
    SANGAMESH
    ------------------------------



  • 17.  RE: dnf repolist error

    Posted 29 days ago

    Hi Sangamesh,

    I have done as you mentioned and I am getting the below output

    root@AIXHost172:/>> dnf repolist
    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 _GLOBAL__AIXD_libstdc___so (number 316) is not exported from dependent
              module /opt/freeware/lib64/libstdc++.a(libstdc++.so.6).
            Symbol _GLOBAL__AIXI_libstdc___so (number 315) is not exported from dependent
              module /opt/freeware/lib64/libstdc++.a(libstdc++.so.6).
    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/opt/freeware/lib64/libstdc++.a (number libstdc++.so.6) is not exported from dependent
              module 460(/opt/freeware/lib64/libstdc++.a).
            Symbol _ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE (number 459) is not exported from dependent
              module /opt/freeware/lib64/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 /opt/freeware/lib64/libstdc++.a(libstdc++.so.6).
            Symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm/opt/freeware/lib64/libstdc++.a (number libstdc++.so.6) is not exported from dependent
              module 457(/opt/freeware/lib64/libstdc++.a).
    Additional errors occurred but are not reported.
    Examine .loader section symbols with the 'dump -Tv' command.
    root@AIXHost172:/>> 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 _GLOBAL__AIXD_libstdc___so (number 316) is not exported from dependent
              module /opt/freeware/lib64/libstdc++.a(libstdc++.so.6).
            Symbol _GLOBAL__AIXI_libstdc___so (number 315) is not exported from dependent
              module /opt/freeware/lib64/libstdc++.a(libstdc++.so.6).
    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/opt/freeware/lib64/libstdc++.a (number libstdc++.so.6) is not exported from dependent
              module 460(/opt/freeware/lib64/libstdc++.a).
            Symbol _ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE (number 459) is not exported from dependent
              module /opt/freeware/lib64/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 /opt/freeware/lib64/libstdc++.a(libstdc++.so.6).
            Symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm/opt/freeware/lib64/libstdc++.a (number libstdc++.so.6) is not exported from dependent
              module 457(/opt/freeware/lib64/libstdc++.a).
    Additional errors occurred but are not reported.
    Examine .loader section symbols with the 'dump -Tv' command.
    root@AIXHost172:/>>

    Thanks



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 18.  RE: dnf repolist error

    Posted 29 days ago

    Hi Shahir,

    Can you please also verify and remove if the below links are present ?

    /opt/freeware/lib64/libstdc++.a

    /opt/freeware/lib64/libgcc_s.a

    /opt/freeware/lib/libstdc++.a

    /opt/freeware/lib/libgcc_s.a

    And then follow the step of removing some of rpm packages.

    rpm -e libdnf python3.9-libdnf python3.9-hawkey python3-libdnf python3-hawkey --nodeps

    and DNF setup.



    ------------------------------
    SANGAMESH
    ------------------------------



  • 19.  RE: dnf repolist error

    Posted 29 days ago

    Hi Sanamesh,

    I did as you mentioned and now getting the below error

    root@AIXHost172:/>> /opt/freeware/bin/dnf repolist
    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: Could not load module /opt/freeware/lib64/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
    root@AIXHost172:/>>

    Thanks



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 20.  RE: dnf repolist error

    Posted 27 days ago

    Please check this

    https://community.ibm.com/community/user/discussion/dnf-error-even-after-successful-installation



    ------------------------------
    SANGAMESH
    ------------------------------



  • 21.  RE: dnf repolist error

    Posted 21 days ago

    Hi Sangamesh,

    Please see below 

    root@Host172:/opt/freeware/lib>> rpm -qa | grep openssl
    root@Host172:/opt/freeware/lib>>

    Still getting the same error.

    Thanks



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 22.  RE: dnf repolist error

    Posted 20 days ago

    Run these commands and try again.

    mv /opt/freeware/lib/libcrypto.a /opt/freeware/lib/libcrypto.a.bak

    mv /opt/freeware/lib/libssl.a /opt/freeware/lib/libssl.a.bak



    ------------------------------
    SANGAMESH
    ------------------------------



  • 23.  RE: dnf repolist error

    Posted 20 days ago

    root@Host172:/>> mv /opt/freeware/lib/libcrypto.a /opt/freeware/lib/libcrypto.a.bak
    mv: cannot rename /opt/freeware/lib/libcrypto.a to /opt/freeware/lib/libcrypto.a.bak:
    No such file or directory
    root@Host172:/>> mv /opt/freeware/lib/libssl.a /opt/freeware/lib/libssl.a.bak
    mv: cannot rename /opt/freeware/lib/libssl.a to /opt/freeware/lib/libssl.a.bak:
    No such file or directory
    root@Host172:/>>



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 24.  RE: dnf repolist error

    Posted 19 days ago

    Hi Sahir,

       Could you please share the output of below command after removing openssl from /opt/freeware.

       1. /opt/freeware/bin/dnf
       2.  /opt/freeware/bin/dnf repolist
       3.  ls  /opt/freeware/lib/libcrypto.a  /opt/freeware/lib/libssl.a
       4.  ls /usr/lib/libcrypto.a  /usr/lib/libssl.a   



    ------------------------------
    Parth Patel
    ------------------------------



  • 25.  RE: dnf repolist error

    Posted 19 days ago

    Please make sure you are trying these on host where you saw the error.

    ImportError: Could not load module /opt/freeware/lib64/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



    ------------------------------
    SANGAMESH
    ------------------------------



  • 26.  RE: dnf repolist error

    Posted 18 days ago

    Hi Parth,

    PFA file as requested.

    Can we make this bit quicker please?

    Thanks

    Shahir



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 27.  RE: dnf repolist error

    Posted 18 days ago
      |   view attached

    PFA file



    ------------------------------
    Shahir Ali FR
    ------------------------------

    Attachment(s)

    txt
    output.txt   4 KB 1 version


  • 28.  RE: dnf repolist error

    Posted 15 days ago

    Hi Shahir,

         Thanks for the details, Please follow this link for more details.

         https://community.ibm.com/community/user/discussion/updated-openssh-openssl-from-ibm-mrs-now-dnf-curl-broken#bmdcb9a406-5d18-408f-a8e8-019bea1526e0



    ------------------------------
    Parth Patel
    ------------------------------



  • 29.  RE: dnf repolist error

    Posted 11 days ago

    So Parth

    Do you want me to follow this ?

    1. rpm -e dnf dnf-automcatic dnf-data libcomps python3-libcomps python3.9-libcomps libdnf python3-libdnf python3-hawkey python3.9-libdnf python3.9-hawkey libcomps python3.9-libcomps libmodulemd librepo python3-librepo python3.9-librepo libsolv

    2. run the dnf_aixtoolbox.sh script

    3. run dnf update to update the latest toolbox repo.

    Thanks



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 30.  RE: dnf repolist error

    Posted 8 days ago


    Yes Shahir,
     Please follow these steps. 



    ------------------------------
    Parth Patel
    ------------------------------



  • 31.  RE: dnf repolist error

    Posted 7 days ago

    HI Parth,

    Getting below 

    root@Host172:/>> s python3.9-libcomps libmodulemd librepo python3-librepo python3.9-librepo libsolv                                                                            <
    error: package dnf-automcatic is not installed
    root@Host172:/>> echo $?
    1
    root@d

    root@Host172:/>> rpm -e dnf dnf-data libcomps python3-libcomps python3.9-libcomps libdnf python3-libdnf python3-hawkey python3.9-libdnf python3.9-hawkey libcomps python3.9-lib>
    error: Failed dependencies:
            dnf = 4.2.17-64_6 is needed by (installed) dnf-automatic-4.2.17-64_6.noarch
            dnf = 4.2.17-64_6 is needed by (installed) yum-4.2.17-64_6.noarch
            dnf-data = 4.2.17-64_6 is needed by (installed) python3.9-dnf-4.2.17-64_6.noarch
            dnf-data = 4.2.17-64_6 is needed by (installed) yum-4.2.17-64_6.noarch
            python3.9-libcomps >= 0.1.8 is needed by (installed) python3.9-dnf-4.2.17-64_6.noarch
            python3.9-libdnf is needed by (installed) python3.9-dnf-4.2.17-64_6.noarch
            python3.9-libdnf >= 0.39.1 is needed by (installed) python3.9-dnf-4.2.17-64_6.noarch
            python3.9-hawkey >= 0.39.1 is needed by (installed) python3.9-dnf-4.2.17-64_6.noarch
            libmodulemd >= 1.4.0 is needed by (installed) python3.9-dnf-4.2.17-64_6.noarch
    root@Host172:/>>

    Thanks 



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 32.  RE: dnf repolist error

    Posted 7 days ago

    Hi Shahir,

       Just run the "./dnf_aixtoolbox.sh -d"  script and then run "dnf update".

       https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/dnf_aixtoolbox.sh

       Reference Link:  https://community.ibm.com/community/user/discussion/migrating-to-python312-for-aix-toolbox-python3-ecosystem 



    ------------------------------
    Parth Patel
    ------------------------------



  • 33.  RE: dnf repolist error

    Posted 5 days ago

    Hi Parth,

    Still getting the same error.

    root@Host172:/>> /mnt1/ezinstall/ppc/dnf_aixtoolbox_local.sh /mnt1

    Copying dnf_bundle_aix_73.tar to /tmp/dnf-20260326161952 .....

    Extracting dnf_bundle_aix_73.tar ...
    x ca-certificates-2023.2.60-0.aix7.1.ppc.rpm, 991206 bytes, 1936 tape blocks
    x dnf-4.2.17-64_6.aix7.1.noarch.rpm, 11392 bytes, 23 tape blocks
    x dnf-automatic-4.2.17-64_6.aix7.1.noarch.rpm, 12850 bytes, 26 tape blocks
    x dnf-data-4.2.17-64_6.aix7.1.noarch.rpm, 26209 bytes, 52 tape blocks
    x extra_list, 384 bytes, 1 tape blocks
    x install_dnf.sh, 16091 bytes, 32 tape blocks
    x libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 1312174 bytes, 2563 tape blocks
    x libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 16515586 bytes, 32258 tape blocks
    x libmodulemd-1.5.2-64_2.aix7.1.ppc.rpm, 3562173 bytes, 6958 tape blocks
    x librepo-1.11.0-64_2.aix7.1.ppc.rpm, 4010051 bytes, 7833 tape blocks
    x libsmartcols-2.34-64_1.aix7.1.ppc.rpm, 187658 bytes, 367 tape blocks
    x libsolv-0.7.9-64_4.aix7.1.ppc.rpm, 1556772 bytes, 3041 tape blocks
    x libzstd-1.4.4-64_2.aix7.1.ppc.rpm, 473729 bytes, 926 tape blocks
    x p11-kit-0.23.22-0.aix7.1.ppc.rpm, 2148539 bytes, 4197 tape blocks
    x p11-kit-tools-0.23.22-0.aix7.1.ppc.rpm, 274086 bytes, 536 tape blocks
    x python3-3.9.16-0.aix7.1.ppc.rpm, 8920 bytes, 18 tape blocks
    x python3-dateutil-2.8.0-2.aix7.1.noarch.rpm, 6128 bytes, 12 tape blocks
    x python3-devel-3.9.16-0.aix7.1.ppc.rpm, 7699 bytes, 16 tape blocks
    x python3-dnf-4.2.17-64_6.aix7.1.noarch.rpm, 7963 bytes, 16 tape blocks
    x python3-dnf-plugin-migrate-4.0.16-64_2.aix7.1.noarch.rpm, 6580 bytes, 13 tape blocks
    x python3-dnf-plugins-core-4.0.16-64_2.aix7.1.noarch.rpm, 6792 bytes, 14 tape blocks
    x python3-gpg-1.13.1-64_3.aix7.1.ppc.rpm, 5724 bytes, 12 tape blocks
    x python3-hawkey-0.39.1-64_5.aix7.1.ppc.rpm, 5756 bytes, 12 tape blocks
    x python3-idle-3.9.16-0.aix7.1.ppc.rpm, 7283 bytes, 15 tape blocks
    x python3-libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 13276 bytes, 26 tape blocks
    x python3-libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 5756 bytes, 12 tape blocks
    x python3-librepo-1.11.0-64_2.aix7.1.ppc.rpm, 12776 bytes, 25 tape blocks
    x python3-six-1.13.0-2.aix7.1.noarch.rpm, 5820 bytes, 12 tape blocks
    x python3-test-3.9.16-0.aix7.1.ppc.rpm, 6228 bytes, 13 tape blocks
    x python3-tkinter-3.9.16-0.aix7.1.ppc.rpm, 6120 bytes, 12 tape blocks
    x python3.9-3.9.16-0.aix7.1.ppc.rpm, 56782290 bytes, 110903 tape blocks
    x python3.9-dateutil-2.8.0-2.aix7.1.noarch.rpm, 310485 bytes, 607 tape blocks
    x python3.9-devel-3.9.16-0.aix7.1.ppc.rpm, 19947643 bytes, 38961 tape blocks
    x python3.9-dnf-4.2.17-64_6.aix7.1.noarch.rpm, 197158 bytes, 386 tape blocks
    x python3.9-dnf-plugin-migrate-4.0.16-64_2.aix7.1.noarch.rpm, 8297 bytes, 17 tape blocks
    x python3.9-dnf-plugins-core-4.0.16-64_2.aix7.1.noarch.rpm, 33701 bytes, 66 tape blocks
    x python3.9-gpg-1.13.1-64_3.aix7.1.ppc.rpm, 1474348 bytes, 2880 tape blocks
    x python3.9-hawkey-0.39.1-64_5.aix7.1.ppc.rpm, 3339964 bytes, 6524 tape blocks
    x python3.9-idle-3.9.16-0.aix7.1.ppc.rpm, 2328852 bytes, 4549 tape blocks
    x python3.9-libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 1075760 bytes, 2102 tape blocks
    x python3.9-libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 24255270 bytes, 47374 tape blocks
    x python3.9-librepo-1.11.0-64_2.aix7.1.ppc.rpm, 2471631 bytes, 4828 tape blocks
    x python3.9-six-1.13.0-2.aix7.1.noarch.rpm, 45630 bytes, 90 tape blocks
    x python3.9-test-3.9.16-0.aix7.1.ppc.rpm, 33159212 bytes, 64765 tape blocks
    x python3.9-tkinter-3.9.16-0.aix7.1.ppc.rpm, 1162787 bytes, 2272 tape blocks
    x rpm-python3-4.15.1-64_4.aix7.1.ppc.rpm, 9704 bytes, 19 tape blocks
    x rpm-python3.9-4.15.1-64_4.aix7.1.ppc.rpm, 100570 bytes, 197 tape blocks
    x rpm.rte, 47110144 bytes, 92012 tape blocks
    x rpmlibs32-4.15.1.0-32_3.aix7.1.ppc.rpm, 3723351 bytes, 7273 tape blocks
    x rpmlibs32-4.18.1.0-32_3.aix7.1.ppc.rpm, 3723272 bytes, 7273 tape blocks
    x yum-4.2.17-64_6.aix7.1.noarch.rpm, 11234 bytes, 22 tape blocks
    x zchunk-1.1.4-64_3.aix7.1.ppc.rpm, 491789 bytes, 961 tape blocks
    x zchunk-devel-1.1.4-64_3.aix7.1.ppc.rpm, 19314 bytes, 38 tape blocks
    x zchunk-libs-1.1.4-64_3.aix7.1.ppc.rpm, 560016 bytes, 1094 tape blocks

    Installing rpm.rte at the latest version ...
    This may take several minutes depending on the number of rpms installed...
    +-----------------------------------------------------------------------------+
                        Pre-installation Verification...
    +-----------------------------------------------------------------------------+
    Verifying selections...done
    Verifying requisites...done
    Results...

    WARNINGS
    --------
      Problems described in this section are not likely to be the source of any
      immediate or serious failures, but further actions may be necessary or
      desired.

      Already Installed
      -----------------
      The number of selected filesets that are either already installed
      or effectively installed through superseding filesets is 1.  See
      the summaries at the end of this installation for details.

      NOTE:  Base level filesets may be reinstalled using the "Force"
      option (-F flag), or they may be removed, using the deinstall or
      "Remove Software Products" facility (-u flag), and then reinstalled.

      << End of Warning Section >>

    +-----------------------------------------------------------------------------+
                       BUILDDATE Verification ...
    +-----------------------------------------------------------------------------+
    Verifying build dates...done
    FILESET STATISTICS
    ------------------
        1  Selected to be installed, of which:
            1  Already installed (directly or via superseding filesets)
      ----
        0  Total to be installed


    Pre-installation Failure/Warning Summary
    ----------------------------------------
    Name                      Level           Pre-installation Failure/Warning
    -------------------------------------------------------------------------------
    rpm.rte                   4.15.1.2009     Already installed

    Checking whether any of the rpms from dnf_bundle are already installed...
    Takes couple of minutes to process.

    ca-certificates-2023.2.60-0 is already installed
    dnf-4.2.17-64_6 is already installed
    dnf-automatic-4.2.17-64_6 is already installed
    dnf-data-4.2.17-64_6 is already installed
    libcomps-0.1.15-64_1 is already installed
    libdnf-0.39.1-64_5 is already installed
    libmodulemd-1.5.2-64_2 is already installed
    librepo-1.11.0-64_2 is already installed
    libsmartcols-2.34-64_1 is already installed
    libsolv-0.7.9-64_4 is already installed
    libzstd-1.4.4-64_2 is already installed
    p11-kit-0.23.22-0 is already installed
    p11-kit-tools-0.23.22-0 is already installed
    python3-3.9.16-0 is already installed
    python3-dnf-4.2.17-64_6 is already installed
    python3-gpg-1.13.1-64_3 is already installed
    python3-hawkey-0.39.1-64_5 is already installed
    python3-libcomps-0.1.15-64_1 is already installed
    python3-libdnf-0.39.1-64_5 is already installed
    python3-librepo-1.11.0-64_2 is already installed
    python3.9-3.9.16-0 is already installed
    python3.9-dnf-4.2.17-64_6 is already installed
    python3.9-gpg-1.13.1-64_3 is already installed
    python3.9-hawkey-0.39.1-64_5 is already installed
    python3.9-libcomps-0.1.15-64_1 is already installed
    python3.9-libdnf-0.39.1-64_5 is already installed
    python3.9-librepo-1.11.0-64_2 is already installed
    rpm-python3-4.15.1-64_4 is already installed
    rpm-python3.9-4.15.1-64_4 is already installed
    yum-4.2.17-64_6 is already installed
    zchunk-libs-1.1.4-64_3 is already installed

    dnf and all it's dependencies are already installed.
    Creating the dnf.conf file with required locale repositories.
    The default /opt/freeware/etc/dnf/dnf.conf has been saved as /opt/freeware/etc/dnf/dnf.conf_local_bak
    root@Host172:/>> echo $?
    0
    root@Host172:/>>


    root@Host172:/>> 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 _GLOBAL__AIXD_libstdc___so (number 316) is not exported from dependent
              module /opt/freeware/lib64/libstdc++.a(libstdc++.so.6).
            Symbol _GLOBAL__AIXI_libstdc___so (number 315) is not exported from dependent
              module /opt/freeware/lib64/libstdc++.a(libstdc++.so.6).
    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/opt/freeware/lib64/libstdc++.a (number libstdc++.so.6) is not exported from dependent
              module 460(/opt/freeware/lib64/libstdc++.a).
            Symbol _ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE (number 459) is not exported from dependent
              module /opt/freeware/lib64/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 /opt/freeware/lib64/libstdc++.a(libstdc++.so.6).
            Symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm/opt/freeware/lib64/libstdc++.a (number libstdc++.so.6) is not exported from dependent
              module 457(/opt/freeware/lib64/libstdc++.a).
    Additional errors occurred but are not reported.
    Examine .loader section symbols with the 'dump -Tv' command.
    root@Host172:/>>

    Could you provide a solution for this asap please?

    Thanks



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 34.  RE: dnf repolist error

    Posted 5 days ago

    Hi Shahir, 

    Looks like older libstdc++ is present in your machine. While loading it will be incompatibale version of libstdc++.

    Please follow the below steps:
    1. unset LIBPATH
    2. export LIBPATH=/opt/freeware/lib64:/opt/freeware/lib:/usr/lib:/lib
    3. /opt/freeware/bin/dnf update
    4. If dnf update success. unset LIBPATH

    If you still face the same issue, 
    Please share the output of below command.

    1. dump -X64 -Hv /opt/freeware/lib64/libstdc++.a


       



    ------------------------------
    Parth Patel
    ------------------------------



  • 35.  RE: dnf repolist error

    Posted 5 days ago

    Parth

    Still getting the same error

    PFB detaiils

    root@Host172:/>> dump -X64 -Hv /opt/freeware/lib64/libstdc++.a

    /opt/freeware/lib64/libstdc++.a[libstdc++.so.6]:

                            ***Loader Section***
                          Loader Header Information
    VERSION#         #SYMtableENT     #RELOCent        LENidSTR
    0x00000001       0x0000106a       0x000034a1       0x0000016b

    #IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
    0x00000003       0x0004d438       0x0002fe73       0x0004d5a3


                            ***Import File Strings***
    INDEX  PATH                          BASE                MEMBER
    0      /opt/freeware/src/packages/BUILD/gcc-build-4.8.1/powerpc-ibm-aix7.1.0.0/ppc64/libstdc++-v3/src:/opt/freeware/src/packages/BUILD/gcc-build-4.8.1/powerpc-ibm-aix7.1.0.0/ppc64/libstdc++-v3/src/.libs:/opt/freeware/src/packages/BUILD/gcc-build-4.8.1/./gcc/ppc64:/opt/freeware/src/packages/BUILD/gcc-build-4.8.1/./gcc:/usr/lib:/lib
    1                                    libc.a              shr_64.o
    2                                    libgcc_s.a          shr.o
    root@Host172:/>>



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 36.  RE: dnf repolist error

    Posted 5 days ago

    Hi Shahir,

    You currently have an older version of libgcc installed on your system. Please download the below packages from the AIX Toolbox and follow the steps to update them.

    Upgrade command:

    rpm -Uvh --replacepkgs libgcc* libgomp* libstdcplusplus* 

    Download links:

    GCC 13 :

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.3/gcc/libgcc-13-2.aix7.3.ppc.rpm

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.3/gcc/libgomp-13-2.aix7.3.ppc.rpm

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.3/gcc/libstdcplusplus-13-2.aix7.3.ppc.rpm


    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.3/gcc13/libgcc13-13.3.0-1.aix7.3.ppc.rpm

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.3/gcc13/libgomp13-13.3.0-1.aix7.3.ppc.rpm

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.3/gcc13/libstdcplusplus13-13.3.0-1.aix7.3.ppc.rpm

    Please proceed with the installation and do " /opt/freeware/bin/dnf update"



    ------------------------------
    Parth Patel
    ------------------------------



  • 37.  RE: dnf repolist error

    Posted yesterday

    Hi Shahir,

        You are using the local mount path.
         So please go to your local mount path and run "rpm -Uvh --replacepkgs libgcc* libgomp* libstdcplusplus*" command.
        



    ------------------------------
    Parth Patel
    ------------------------------



  • 38.  RE: dnf repolist error

    Posted 6 days ago

    Add to the "rpm -e" line the yum/dnf-automatic/etc... packages that are also installed (right side of "is needed by").



    ------------------------------
    José Pina Coelho
    IT Specialist at Kyndryl
    ------------------------------



  • 39.  RE: dnf repolist error

    Posted 5 days ago

    I didn't understand this .
    Could you rephrase it please? Thank you



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 40.  RE: dnf repolist error

    Posted 18 days ago

    @SANGAMESH MALLAYYA   Yes it is the correct server -  Host172.



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 41.  RE: dnf repolist error

    Posted 8 days ago

    Hi All,

    Any updates for me please?

    Thanks



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 42.  RE: dnf repolist error

    Posted 5 days ago

    Waiting for the reply



    ------------------------------
    Shahir Ali FR
    ------------------------------