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 fails

    Posted Thu September 14, 2023 12:36 AM

    I ran the dnf_aixtoolbox_local.sh  script successfully. Afterwards, dnf update failed.:

    # dnf update
    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/lib64/librepo.a(librepo.so.0).
            0509-150   Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.2) could not be loaded.
            0509-152   Member libcrypto.so.1.0.2 is not found in archive
            0509-022 Cannot load module /opt/freeware/lib64/python3.7/site-packages/libdnf/_common_types.so.
            0509-150   Dependent module /opt/freeware/lib64/librepo.a(librepo.so.0) could not be loaded.

    # echo $LIBPATH
    /usr/lib:/opt/freeware/lib/:/opt/freeware/64/lib/

    # oslevel -s
    7300-00-02-2220



    ------------------------------
    Mackey Morgan
    ------------------------------

    #AIXOpenSource


  • 2.  RE: dnf update fails

    Posted Fri September 15, 2023 08:08 AM

    Hi Mackey,

    Please remove the openssl rpm and retry again.

    Also, don't set the LIBPATH to /usr/lib first.



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