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.  dnf repolist

    Posted Mon September 09, 2024 01:36 AM

    Hi All,

    I am getting this error while running the command dnf repolist

    # /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:    0509-022 Cannot load module /opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so.
            0509-150   Dependent module /opt/freeware/lib/pthread/libgcc_s.a(shr.o) could not be loaded.
            0509-103   The module has an invalid magic number.
    #



    ------------------------------
    Satish Kumar
    ------------------------------


  • 2.  RE: dnf repolist

    Posted Mon September 09, 2024 08:40 AM

    What is your LIBPATH? Did you export LIBPATH to something? 



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