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 update issue on AIX 7200-05-03

    Posted Tue August 29, 2023 12:33 PM

    Hi all. 

    I am attempting to install DNF on AIX 7200-05-03-2135. 
    I have updated OpenSSL to 1.1.2.2000.
    DNF installed fine. However, running "dnf update" results in the following error messages:

    root@Metro_AIX_LPAR2RRD_93:[/] # dnf update
    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-022 Cannot load module /opt/freeware/lib/libdnf.a(libdnf.so.2).
            0509-150   Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
            0509-152   Member libcrypto.so.1.1 is not found in archive
            0509-022 Cannot load module /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so.
            0509-150   Dependent module /opt/freeware/lib/libdnf.a(libdnf.so.2) could not be loaded.

    Can you advise, please? 
    Thanks, 

    --Elliot Smorodinsky



    ------------------------------
    Elliot Smorodinsky
    ------------------------------

    #AIXOpenSource


  • 2.  RE: DNF update issue on AIX 7200-05-03

    Posted Tue August 29, 2023 12:46 PM

    The error suggests you have another openssl in /opt/freeware/lib path. It could be because you have openssl rpm installed. 

    If you can remove openssl rpm then remove it and try again. 



    ------------------------------
    SANKET RATHI
    ------------------------------