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 error on AIX 7.3

    Posted yesterday

    Hello All, 

    DNF installed on my AIX 7300-02-04-2520. But, DNF update failed with below error. Could you please help

    # dnf update
    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/librepo.a(librepo.so.0).
            0509-150   Dependent module /opt/freeware/lib/libssl.a(libssl.so.1.1) could not be loaded.
            0509-152   Member libssl.so.1.1 is not found in archive
    #

    I have soft linked below files to the folder /opt/freeware/lib/ and LIBPATH exported.

     /opt/freeware/libdnfdeps/libgcc_s.a 
     /opt/freeware/libdnfdeps/libstdc++.a



    ------------------------------
    goverdhana musunuri
    ------------------------------


  • 2.  RE: DNF update error on AIX 7.3

    Posted 18 hours ago

    Hi goverdhana,

    what is the output of below commands

    1. echo $LIBPATH
    2. ar -tv /usr/lib/libssl.a
    3. ar -tv /opt/freeware/lib/libssl.a



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



  • 3.  RE: DNF update error on AIX 7.3

    Posted 6 hours ago

    Hi Lakshmi Surekha

    Thanks You.

    # echo $LIBPATH
    /opt/freeware/lib
    # ar -tv /usr/lib/libssl.a
    rw-r-----     0/0     728648 Feb 11 10:59 2025 libssl.so
    rw-r-----     0/0     510766 Feb 11 10:59 2025 libssl.so.0.9.8
    rw-r-----     0/0     728648 Feb 11 10:59 2025 libssl.so.1.0.0
    rw-r-----     0/0     728648 Feb 11 10:59 2025 libssl.so.1.0.2
    rwxr-xr-x     0/0     1062614 May 05 14:15 2025 libssl.so.1.1
    rwxr-xr-x     0/0     1246666 May 05 13:59 2025 libssl.so.3
    # ar -tv /opt/freeware/lib/libssl.a
    rwxr-xr-x     0/0     635775 Apr 08 17:46 2014 libssl.so.1.0.1
    rw-r--r--     0/0     362538 Apr 08 17:46 2014 libssl.so.0.9.7
    rw-r--r--     0/0     520790 Apr 08 17:46 2014 libssl.so.0.9.8
    rwxr-xr-x     0/0     573117 Apr 08 17:46 2014 libssl.so.1.0.0
    # oslevel -s
    7300-02-04-2520
    #



    ------------------------------
    goverdhana musunuri
    ------------------------------



  • 4.  RE: DNF update error on AIX 7.3

    Posted 5 hours ago

    Hi Goverdhana,

    Please run the following command first:

    export LIBPATH=/usr/lib:/opt/freeware/lib

    Then try running the update again:

    dnf update

    The missing shared object libssl.so.1.1 is present in /usr/lib/libssl.a. Setting the LIBPATH as above should help resolve this issue.



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