AIX Open Source

 View Only
  • 1.  After installing DNF we are seeing errors

    Posted Fri April 14, 2023 08:55 AM
    Edited by Ken Foster Wed April 26, 2023 08:18 AM

    On this server we were running yum.  After installing dnf it is not able to run.  We are getting the following messages.  
    I have also removed the following packages from the server. 

    Packages removed.
    openssl
    openldap 
    apr-util-ldap

    Messages that we get when running dnf:

    Traceback (most recent call last):
      File "/usr/bin/dnf", line 58, in <module>
        from dnf.cli import main
      File "/opt/freeware/lib/python3.7/site-packages/dnf/__init__.py", line 30, in <module>
        import dnf.base
      File "/opt/freeware/lib/python3.7/site-packages/dnf/base.py", line 29, in <module>
        import libdnf.transaction
      File "/opt/freeware/lib64/python3.7/site-packages/libdnf/__init__.py", line 3, in <module>
        from . import common_types
      File "/opt/freeware/lib64/python3.7/site-packages/libdnf/common_types.py", line 13, in <module>
        from . import _common_types
    ImportError:    0509-022 Cannot load module /opt/freeware/libdnfdeps/libstdc++.a(libstdc++.so.6).
            0509-150   Dependent module /opt/freeware/lib/libgcc_s.a(shr.o) could not be loaded.
            0509-103   The module has an invalid magic number.
            0509-022 Cannot load module /opt/freeware/lib64/python3.7/site-packages/libdnf/_common_types.so.
            0509-150   Dependent module /opt/freeware/libdnfdeps/libstdc++.a(libstdc++.so.6) could not be loaded.



    ------------------------------
    Ken Foster
    ------------------------------



  • 2.  RE: After installing DNF we are seeing errors

    Posted Wed April 26, 2023 01:48 PM

    I was able to get DNF working by installing/updating the following packages..
    libgcc-10-2.aix7.3.ppc.rpm
    libgcc10-10.3.0-6.aix7.3.ppc.rpm



    ------------------------------
    Ken Foster
    ------------------------------