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
  • 1.  Dnf issue

    Posted 2 days ago

    Hello,

    After installing DNF on my AIX system, I encountered an error when attempting to use it. Could someone advise what might be causing this issue? Thank you in advance for your support.

    bash-5.2$ sudo /opt/freeware/bin/dnf repolist
    Password:
    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 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/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: Could not load module /opt/freeware/lib/librepo.a(librepo.so.0).
            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
    Could not load module /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so.
            Dependent module /opt/freeware/lib/librepo.a(librepo.so.0) could not be loaded.


    bash-5.2$ rpm -qa | grep dnf
    libdnf-0.39.1-32_52.ppc
    python3.9-dnf-4.2.17-32_53.ppc
    dnf-4.2.17-32_53.ppc
    python3-libdnf-0.39.1-32_52.ppc
    python3.9-libdnf-0.39.1-32_52.ppc
    dnf-data-4.2.17-32_53.ppc
    python3-dnf-4.2.17-32_53.ppc
    dnf-automatic-4.2.17-32_53.ppc

    bash-5.2$ oslevel -s
    7200-05-06-2320



    ------------------------------
    Dariusz Kisiala
    ------------------------------


  • 2.  RE: Dnf issue

    Posted 2 days ago

    Hi Dariusz,

    what is the output of below commands

    1. rpm -qi --whatprovides /opt/freeware/lib/libcrypto.a | egrep "Name|Package|Build Host"
    2. lslpp -w `lslpp -f | grep libcrypto.a`
    3. ar -tv /usr/lib/libssl.a
    4. ar -tv /opt/freeware/lib/libssl.a



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



  • 3.  RE: Dnf issue

    Posted 6 hours ago

    Looks like you have a third-party openssl rpm present in the system. Please remove it and try again. 
    If openssl rpm is not present, then remove the files "/opt/freeware/lib/libcrypto.a" and "/opt/freeware/lib/libssl.a" and then try again. 



    ------------------------------
    Ayappan P
    ------------------------------