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 failing after install on AIX 7.3 TL3

    Posted Thu April 24, 2025 10:27 AM

     oslevel -s
    7300-03-00-2446

    After clean install of dnf_aixtoolbox.sh I tried to run dnf update and it failed.  Can someone help me figure out why it is not working.  


    /opt/freeware/bin/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/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

    Here is the install of dnf.

    /tmp/dnf_aixtoolbox.sh -y
    Attempting download of dnf_bundle_aix_73.tar ...
    Saving to 'dnf_bundle_aix_73.tar'...
    223 MB received in 45 seconds (4.95 MB/sec)

    Extracting dnf_bundle_aix_73.tar ...
    x ca-certificates-2023.2.60-0.aix7.1.ppc.rpm, 991206 bytes, 1936 tape blocks
    x dnf-4.2.17-64_6.aix7.1.noarch.rpm, 11392 bytes, 23 tape blocks
    x dnf-automatic-4.2.17-64_6.aix7.1.noarch.rpm, 12850 bytes, 26 tape blocks
    x dnf-data-4.2.17-64_6.aix7.1.noarch.rpm, 26209 bytes, 52 tape blocks
    x extra_list, 384 bytes, 1 tape blocks
    x install_dnf.sh, 16091 bytes, 32 tape blocks
    x libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 1312174 bytes, 2563 tape blocks
    x libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 16515586 bytes, 32258 tape blocks
    x libmodulemd-1.5.2-64_2.aix7.1.ppc.rpm, 3562173 bytes, 6958 tape blocks
    x librepo-1.11.0-64_2.aix7.1.ppc.rpm, 4010051 bytes, 7833 tape blocks
    x libsmartcols-2.34-64_1.aix7.1.ppc.rpm, 187658 bytes, 367 tape blocks
    x libsolv-0.7.9-64_4.aix7.1.ppc.rpm, 1556772 bytes, 3041 tape blocks
    x libzstd-1.4.4-64_2.aix7.1.ppc.rpm, 473729 bytes, 926 tape blocks
    x p11-kit-0.23.22-0.aix7.1.ppc.rpm, 2148539 bytes, 4197 tape blocks
    x p11-kit-tools-0.23.22-0.aix7.1.ppc.rpm, 274086 bytes, 536 tape blocks
    x python3-3.9.16-0.aix7.1.ppc.rpm, 8920 bytes, 18 tape blocks
    x python3-dateutil-2.8.0-2.aix7.1.noarch.rpm, 6128 bytes, 12 tape blocks
    x python3-devel-3.9.16-0.aix7.1.ppc.rpm, 7699 bytes, 16 tape blocks
    x python3-dnf-4.2.17-64_6.aix7.1.noarch.rpm, 7963 bytes, 16 tape blocks
    x python3-dnf-plugin-migrate-4.0.16-64_2.aix7.1.noarch.rpm, 6580 bytes, 13 tape blocks
    x python3-dnf-plugins-core-4.0.16-64_2.aix7.1.noarch.rpm, 6792 bytes, 14 tape blocks
    x python3-gpg-1.13.1-64_3.aix7.1.ppc.rpm, 5724 bytes, 12 tape blocks
    x python3-hawkey-0.39.1-64_5.aix7.1.ppc.rpm, 5756 bytes, 12 tape blocks
    x python3-idle-3.9.16-0.aix7.1.ppc.rpm, 7283 bytes, 15 tape blocks
    x python3-libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 13276 bytes, 26 tape blocks
    x python3-libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 5756 bytes, 12 tape blocks
    x python3-librepo-1.11.0-64_2.aix7.1.ppc.rpm, 12776 bytes, 25 tape blocks
    x python3-six-1.13.0-2.aix7.1.noarch.rpm, 5820 bytes, 12 tape blocks
    x python3-test-3.9.16-0.aix7.1.ppc.rpm, 6228 bytes, 13 tape blocks
    x python3-tkinter-3.9.16-0.aix7.1.ppc.rpm, 6120 bytes, 12 tape blocks
    x python3.9-3.9.16-0.aix7.1.ppc.rpm, 56782290 bytes, 110903 tape blocks
    x python3.9-dateutil-2.8.0-2.aix7.1.noarch.rpm, 310485 bytes, 607 tape blocks
    x python3.9-devel-3.9.16-0.aix7.1.ppc.rpm, 19947643 bytes, 38961 tape blocks
    x python3.9-dnf-4.2.17-64_6.aix7.1.noarch.rpm, 197158 bytes, 386 tape blocks
    x python3.9-dnf-plugin-migrate-4.0.16-64_2.aix7.1.noarch.rpm, 8297 bytes, 17 tape blocks
    x python3.9-dnf-plugins-core-4.0.16-64_2.aix7.1.noarch.rpm, 33701 bytes, 66 tape blocks
    x python3.9-gpg-1.13.1-64_3.aix7.1.ppc.rpm, 1474348 bytes, 2880 tape blocks
    x python3.9-hawkey-0.39.1-64_5.aix7.1.ppc.rpm, 3339964 bytes, 6524 tape blocks
    x python3.9-idle-3.9.16-0.aix7.1.ppc.rpm, 2328852 bytes, 4549 tape blocks
    x python3.9-libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 1075760 bytes, 2102 tape blocks
    x python3.9-libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 24255270 bytes, 47374 tape blocks
    x python3.9-librepo-1.11.0-64_2.aix7.1.ppc.rpm, 2471631 bytes, 4828 tape blocks
    x python3.9-six-1.13.0-2.aix7.1.noarch.rpm, 45630 bytes, 90 tape blocks
    x python3.9-test-3.9.16-0.aix7.1.ppc.rpm, 33159212 bytes, 64765 tape blocks
    x python3.9-tkinter-3.9.16-0.aix7.1.ppc.rpm, 1162787 bytes, 2272 tape blocks
    x rpm-python3-4.15.1-64_4.aix7.1.ppc.rpm, 9704 bytes, 19 tape blocks
    x rpm-python3.9-4.15.1-64_4.aix7.1.ppc.rpm, 100570 bytes, 197 tape blocks
    x rpm.rte, 47110144 bytes, 92012 tape blocks
    x rpmlibs32-4.15.1.0-32_3.aix7.1.ppc.rpm, 3723351 bytes, 7273 tape blocks
    x rpmlibs32-4.18.1.0-32_3.aix7.1.ppc.rpm, 3723272 bytes, 7273 tape blocks
    x yum-4.2.17-64_6.aix7.1.noarch.rpm, 11234 bytes, 22 tape blocks
    x zchunk-1.1.4-64_3.aix7.1.ppc.rpm, 491789 bytes, 961 tape blocks
    x zchunk-devel-1.1.4-64_3.aix7.1.ppc.rpm, 19314 bytes, 38 tape blocks
    x zchunk-libs-1.1.4-64_3.aix7.1.ppc.rpm, 560016 bytes, 1094 tape blocks

    Installing rpm.rte at the latest version ...
    This may take several minutes depending on the number of rpms installed...
    +-----------------------------------------------------------------------------+
                        Pre-installation Verification...
    +-----------------------------------------------------------------------------+
    Verifying selections...done
    Verifying requisites...done
    Results...

    WARNINGS
    --------
      Problems described in this section are not likely to be the source of any
      immediate or serious failures, but further actions may be necessary or
      desired.

      Already Installed
      -----------------
      The number of selected filesets that are either already installed
      or effectively installed through superseding filesets is 1.  See
      the summaries at the end of this installation for details.

      NOTE:  Base level filesets may be reinstalled using the "Force"
      option (-F flag), or they may be removed, using the deinstall or
      "Remove Software Products" facility (-u flag), and then reinstalled.

      << End of Warning Section >>

    +-----------------------------------------------------------------------------+
                       BUILDDATE Verification ...
    +-----------------------------------------------------------------------------+
    Verifying build dates...done
    FILESET STATISTICS
    ------------------
        1  Selected to be installed, of which:
            1  Already installed (directly or via superseding filesets)
      ----
        0  Total to be installed


    Pre-installation Failure/Warning Summary
    ----------------------------------------
    Name                      Level           Pre-installation Failure/Warning
    -------------------------------------------------------------------------------
    rpm.rte                   4.15.1.2009     Already superseded by 4.18.1.2004

    Checking whether any of the rpms from dnf_bundle are already installed...
    Takes couple of minutes to process.

    ca-certificates-2023.2.60-0 will be installed
    dnf-4.2.17-64_6 will be installed
    dnf-automatic-4.2.17-64_6 will be installed
    dnf-data-4.2.17-64_6 will be installed
    libcomps-0.1.15-64_1 will be installed
    libdnf-0.39.1-64_5 will be installed
    libmodulemd-1.5.2-64_2 will be installed
    librepo-1.11.0-64_2 will be installed
    libsmartcols-2.34-64_1 will be installed
    libsolv-0.7.9-64_4 will be installed
    libzstd-1.4.4-64_2 will be installed
    p11-kit-0.23.22-0 will be installed
    p11-kit-tools-0.23.22-0 will be installed
    python3-3.9.16-0 will be installed
    python3-dnf-4.2.17-64_6 will be installed
    python3-gpg-1.13.1-64_3 will be installed
    python3-hawkey-0.39.1-64_5 will be installed
    python3-libcomps-0.1.15-64_1 will be installed
    python3-libdnf-0.39.1-64_5 will be installed
    python3-librepo-1.11.0-64_2 will be installed
    python3.9-3.9.16-0 will be installed
    python3.9-dnf-4.2.17-64_6 will be installed
    python3.9-gpg-1.13.1-64_3 will be installed
    python3.9-hawkey-0.39.1-64_5 will be installed
    python3.9-libcomps-0.1.15-64_1 will be installed
    python3.9-libdnf-0.39.1-64_5 will be installed
    python3.9-librepo-1.11.0-64_2 will be installed
    rpm-python3-4.15.1-64_4 will be installed
    rpm-python3.9-4.15.1-64_4 will be installed
    yum-4.2.17-64_6 will be installed
    zchunk-libs-1.1.4-64_3 will be installed

    Installing the packages...

    Verifying...                          ################################# [100%]
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:python3.9-3.9.16-0               ################################# [  3%]
       2:python3-3.9.16-0                 ################################# [  6%]
       3:libzstd-1.4.4-64_2               ################################# [ 10%]
       4:libmodulemd-1.5.2-64_2           ################################# [ 13%]
       5:libsolv-0.7.9-64_4               ################################# [ 16%]
       6:libsmartcols-2.34-64_1           ################################# [ 19%]
       7:zchunk-libs-1.1.4-64_3           ################################# [ 23%]
       8:librepo-1.11.0-64_2              ################################# [ 26%]
       9:python3.9-gpg-1.13.1-64_3        ################################# [ 29%]
      10:rpm-python3.9-4.15.1-64_4        ################################# [ 32%]
      11:dnf-data-4.2.17-64_6             ################################# [ 35%]
      12:rpm-python3-4.15.1-64_4          ################################# [ 39%]
      13:libdnf-0.39.1-64_5               ################################# [ 42%]
      14:python3.9-libdnf-0.39.1-64_5     ################################# [ 45%]
      15:python3.9-hawkey-0.39.1-64_5     ################################# [ 48%]
      16:python3.9-librepo-1.11.0-64_2    ################################# [ 52%]
      17:p11-kit-0.23.22-0                ################################# [ 55%]
      18:p11-kit-tools-0.23.22-0          ################################# [ 58%]
      19:libcomps-0.1.15-64_1             ################################# [ 61%]
      20:python3.9-libcomps-0.1.15-64_1   ################################# [ 65%]
      21:python3.9-dnf-4.2.17-64_6        ################################# [ 68%]
      22:python3-dnf-4.2.17-64_6          ################################# [ 71%]
      23:dnf-4.2.17-64_6                  ################################# [ 74%]
      24:dnf-automatic-4.2.17-64_6        ################################# [ 77%]
      25:yum-4.2.17-64_6                  ################################# [ 81%]
      26:python3-libcomps-0.1.15-64_1     ################################# [ 84%]
      27:ca-certificates-2023.2.60-0      ################################# [ 87%]
      28:python3-librepo-1.11.0-64_2      ################################# [ 90%]
      29:python3-hawkey-0.39.1-64_5       ################################# [ 94%]
      30:python3-libdnf-0.39.1-64_5       ################################# [ 97%]
      31:python3-gpg-1.13.1-64_3   yes    ################################# [100%]

    dnf installed successfully.
    Please run 'dnf update' to update packages to the latest level.
    Filesystem size changed to 9699328
    Please note, RPM packages are downloaded in dnf cache /var/cache/dnf.
    RPM packages install files go under the path /opt.
    Hence it is recommended to always keep at least 512MB of free space in /var & /opt
    to avoid any download and installation/update failures.



    ------------------------------
    Teri Wood
    ------------------------------

    #AIXOpenSource


  • 2.  RE: dnf failing after install on AIX 7.3 TL3

    Posted Fri April 25, 2025 01:26 AM

    Hi Teri Wood,
    @Teri Wood

    >  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/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 

    My understanding is that libcrypto is part of openssl library which ideally should be in /usr/lib. How did you get a libcrypto library in  /opt/freeware/lib/ location.

    # ar -tuv /usr/lib/libcrypto.a
    rw-r--r--     0/0     3081674 Sep 19 02:02 2024 libcrypto.so
    rw-r--r--     0/0     3081674 Sep 19 02:02 2024 libcrypto.so.1.0.0
    rw-r--r--     0/0     3081674 Sep 19 02:02 2024 libcrypto.so.1.0.2
    rwxr-xr-x     0/0     4470686 Sep 19 02:02 2024 libcrypto.so.1.1
    rwxr-xr-x     0/0     7302380 Sep 23 06:35 2024 libcrypto.so.3

    If you check in my LPAR, we do have libcrypto.so.1.1 and dnf should be able to update.

    There are a couple of things we can do. 

    First of all can you check if this libcrypto library exists in /usr/lib?? Can you paste me, if it exists the ar -tuv /usr/lib/libcrypto.a and check if libcrypto.so.1.1 exists??

    If it does can you also check if libcrypto.so.1.1 exists via ar -tuv in /opt/freeware/lib/libcrypto.a. Surely it does not here. 

    Tentatively, if libcrypto is there in /usr/lib then consider renaming /opt/freeware/lib64/libdnf.a to /opt/freeware/lib64/libdnf_tmp.a and then try.

    If it does not work, or you do not have libcrypto in /usr/lib then let me know



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



  • 3.  RE: dnf failing after install on AIX 7.3 TL3

    Posted Fri April 25, 2025 09:14 AM

    nim2:/ # ar -tuv in /opt/freeware/lib/libcrypto.a
    ar: 0707-100 in does not exist.
    nim2:/ # ar -tuv /opt/freeware/lib/libcrypto.a
    rwxr-xr-x     0/0     2012173 Oct 04 14:58 2006 libcrypto.so.0.9.7
    rwxr-xr-x   201/0     1530064 Oct 04 14:58 2006 libcrypto.so.0

    nim2:/ # ls -la /opt/freeware/lib64/libdnf.a
    -rwxr-xr-x    1 root     system     39980008 Jul 07 2023  /opt/freeware/lib64/libdnf.a
    nim2:/ # mv /opt/freeware/lib64/libdnf.a /opt/freeware/lib64/libdnf_tmp.a

    nim2:/ # /opt/freeware/bin/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/python3.9/site-packages/libdnf/_common_types.so.
            0509-150   Dependent module libdnf.a(libdnf.so.2) could not be loaded.
            0509-022 Cannot load module libdnf.a(libdnf.so.2).
            0509-026 System error: A file or directory in the path name does not exist.
    nim2:/ #

    nim2:/ # ls -la /opt/freeware/lib/
    total 198544
    drwxr-xr-x   15 root     system         4096 Apr 24 09:34 .
    drwxrwxr-x   21 root     system         4096 Apr 24 09:34 ..
    -rw-r--r--    1 root     system         1118 Dec 22 2005  charset.alias
    drwxr-xr-x    4 root     system          256 Mar 05 2013  emacs
    drwxr-xr-x    3 root     system          256 Mar 22 2008  gcc
    drwxr-xr-x    3 root     system          256 Mar 05 2013  gtk-2.0
    -rw-r--r--    1 root     system       719111 Feb 02 2005  libXaw3d.a
    -rwxr-xr-x    1 root     system       200477 Jan 17 2006  libXcursor.a
    -rw-r--r--    1 root     system       388211 Dec 22 2005  libXft.a
    -rwxr-xr-x    1 root     system         1096 Dec 22 2005  libXft.la
    -rwxr-xr-x    1 root     system       160348 Feb 09 2006  libXrender.a
    -rwxr-xr-x    1 root     system         1048 Feb 09 2006  libXrender.la
    -rw-r--r--    1 root     system       652898 Dec 22 2005  libatk-1.0.a
    -rwxr-xr-x    1 root     system       201115 Feb 26 2018  libbz2.a
    -rwxr-xr-x    1 root     system      1895603 Jul 06 2006  libcairo.a
    -rwxr-xr-x    1 root     system      6210600 Oct 04 2006  libcrypto.a
    -rw-r--r--    1 root     system      1686885 Dec 22 2005  libexpat.a
    -rw-r--r--    1 root     system      1161061 Dec 22 2005  libfontconfig.a
    lrwxrwxrwx    1 root     system           29 Apr 22 16:33 libfreebl3.a -> /usr/opt/rpm/lib/libfreebl3.a
    lrwxrwxrwx    1 root     system           30 Apr 22 16:33 libfreebl3.so -> /usr/opt/rpm/lib/libfreebl3.so
    lrwxrwxrwx    1 root     system           33 Apr 22 16:33 libfreeblpriv3.a -> /usr/opt/rpm/lib/libfreeblpriv3.a
    lrwxrwxrwx    1 root     system           34 Apr 22 16:33 libfreeblpriv3.so -> /usr/opt/rpm/lib/libfreeblpriv3.so
    -rw-r--r--    1 root     system      1838987 Apr 11 2006  libfreetype.a
    lrwxrwxrwx    1 root     system           35 Apr 24 09:34 libgcc_s.a -> /opt/freeware/libdnfdeps/libgcc_s.a
    -rwxr-xr-x    1 root     system      2898671 Jun 10 2006  libgdk-x11-2.0.a
    -rwxr-xr-x    1 root     system       486611 Jun 10 2006  libgdk_pixbuf-2.0.a
    -rwxr-xr-x    1 root     system       249945 Jun 10 2006  libgdk_pixbuf_xlib-2.0.a
    lrwxrwxrwx    1 root     system           21 Apr 22 16:33 libglib-1.2.so.0 -> libglib-1.2.so.0.0.10
    -rwxr-xr-x    1 root     system       402269 Feb 08 2002  libglib-1.2.so.0.0.10
    -rw-r--r--    1 root     system      2681566 Dec 22 2005  libglib-2.0.a
    lrwxrwxrwx    1 root     system           21 Apr 22 16:33 libglib.so -> libglib-1.2.so.0.0.10
    lrwxrwxrwx    1 root     system           24 Apr 22 16:33 libgmodule-1.2.so.0 -> libgmodule-1.2.so.0.0.10
    -rw-r--r--    1 root     system        16214 Feb 08 2002  libgmodule-1.2.so.0.0.10
    -rw-r--r--    1 root     system        52995 Dec 22 2005  libgmodule-2.0.a
    lrwxrwxrwx    1 root     system           24 Apr 22 16:33 libgmodule.so -> libgmodule-1.2.so.0.0.10
    -rw-r--r--    1 root     system      1253641 Dec 22 2005  libgobject-2.0.a
    lrwxrwxrwx    1 root     system           24 Apr 22 16:33 libgthread-1.2.so.0 -> libgthread-1.2.so.0.0.10
    -rwxr-xr-x    1 root     system        13679 Feb 08 2002  libgthread-1.2.so.0.0.10
    -rw-r--r--    1 root     system        67828 Dec 22 2005  libgthread-2.0.a
    lrwxrwxrwx    1 root     system           24 Apr 22 16:33 libgthread.so -> libgthread-1.2.so.0.0.10
    -rwxr-xr-x    1 root     system     16245394 Jun 10 2006  libgtk-x11-2.0.a
    lrwxrwxrwx    1 root     system           29 Apr 23 13:45 libhistory.a -> /usr/opt/rpm/lib/libhistory.a
    -rwxr-xr-x    1 root     system       441267 Jul 08 2017  libintl.a
    -rw-r--r--    1 root     system         1004 Dec 22 2005  libintl.la
    -rwxr-xr-x    1 root     system       527001 Feb 12 2004  libjpeg.a
    lrwxrwxrwx    1 root     system           25 Apr 23 13:45 liblua.a -> /usr/opt/rpm/lib/liblua.a
    lrwxrwxrwx    1 root     system           27 Apr 23 13:45 libmagic.a -> /usr/opt/rpm/lib/libmagic.a
    lrwxrwxrwx    1 root     system           27 Apr 22 16:33 libnspr4.a -> /usr/opt/rpm/lib/libnspr4.a
    lrwxrwxrwx    1 root     system           28 Apr 22 16:33 libnspr4.so -> /usr/opt/rpm/lib/libnspr4.so
    lrwxrwxrwx    1 root     system           26 Apr 22 16:33 libnss3.a -> /usr/opt/rpm/lib/libnss3.a
    lrwxrwxrwx    1 root     system           27 Apr 22 16:33 libnss3.so -> /usr/opt/rpm/lib/libnss3.so
    lrwxrwxrwx    1 root     system           29 Apr 22 16:33 libnssdbm3.a -> /usr/opt/rpm/lib/libnssdbm3.a
    lrwxrwxrwx    1 root     system           30 Apr 22 16:33 libnssdbm3.so -> /usr/opt/rpm/lib/libnssdbm3.so
    lrwxrwxrwx    1 root     system           30 Apr 22 16:33 libnssutil3.a -> /usr/opt/rpm/lib/libnssutil3.a
    lrwxrwxrwx    1 root     system           31 Apr 22 16:33 libnssutil3.so -> /usr/opt/rpm/lib/libnssutil3.so
    -rwxr-xr-x    1 root     system      5091274 Jun 15 2023  libp11-kit.a
    -rw-r--r--    1 root     system      1209975 Dec 22 2005  libpango-1.0.a
    -rw-r--r--    1 root     system       171509 Dec 22 2005  libpangocairo-1.0.a
    -rw-r--r--    1 root     system       777702 Dec 22 2005  libpangoft2-1.0.a
    -rw-r--r--    1 root     system       266663 Dec 22 2005  libpangox-1.0.a
    -rw-r--r--    1 root     system       164215 Dec 22 2005  libpangoxft-1.0.a
    lrwxrwxrwx    1 root     system           26 Apr 22 16:33 libplc4.a -> /usr/opt/rpm/lib/libplc4.a
    lrwxrwxrwx    1 root     system           27 Apr 22 16:33 libplc4.so -> /usr/opt/rpm/lib/libplc4.so
    lrwxrwxrwx    1 root     system           27 Apr 22 16:33 libplds4.a -> /usr/opt/rpm/lib/libplds4.a
    lrwxrwxrwx    1 root     system           28 Apr 22 16:33 libplds4.so -> /usr/opt/rpm/lib/libplds4.so
    -rwxr-xr-x    1 root     system      1115944 Oct 18 2006  libpng.a
    -rwxr-xr-x    1 root     system       883256 Oct 18 2006  libpng12.a
    lrwxrwxrwx    1 root     system           26 Apr 23 13:45 libpopt.a -> /usr/opt/rpm/lib/libpopt.a
    lrwxrwxrwx    1 root     system           27 Apr 22 16:33 libpopt.so -> /usr/opt/rpm/lib/libpopt.so
    lrwxrwxrwx    1 root     system           29 Apr 22 16:33 libpopt.so.0 -> /usr/opt/rpm/lib/libpopt.so.0
    lrwxrwxrwx    1 root     system           33 Apr 22 16:33 libpopt.so.0.0.0 -> /usr/opt/rpm/lib/libpopt.so.0.0.0
    -rwxr-xr-x    1 root     system     47999259 Jun 28 2023  libpython3.9.a
    lrwxrwxrwx    1 root     system           30 Apr 23 13:45 libreadline.a -> /usr/opt/rpm/lib/libreadline.a
    lrwxrwxrwx    1 root     system           28 Apr 22 16:33 libsmime3.a -> /usr/opt/rpm/lib/libsmime3.a
    lrwxrwxrwx    1 root     system           29 Apr 22 16:33 libsmime3.so -> /usr/opt/rpm/lib/libsmime3.so
    lrwxrwxrwx    1 root     system           30 Apr 22 16:33 libsoftokn3.a -> /usr/opt/rpm/lib/libsoftokn3.a
    lrwxrwxrwx    1 root     system           31 Apr 22 16:33 libsoftokn3.so -> /usr/opt/rpm/lib/libsoftokn3.so
    lrwxrwxrwx    1 root     system           29 Apr 23 13:45 libsqlite3.a -> /usr/opt/rpm/lib/libsqlite3.a
    lrwxrwxrwx    1 root     system           30 Apr 22 16:33 libsqlite3.so -> /usr/opt/rpm/lib/libsqlite3.so
    -rwxr-xr-x    1 root     system      1191902 Oct 04 2006  libssl.a
    lrwxrwxrwx    1 root     system           26 Apr 22 16:33 libssl3.a -> /usr/opt/rpm/lib/libssl3.a
    lrwxrwxrwx    1 root     system           27 Apr 22 16:33 libssl3.so -> /usr/opt/rpm/lib/libssl3.so
    lrwxrwxrwx    1 root     system           36 Apr 24 09:34 libstdc++.a -> /opt/freeware/libdnfdeps/libstdc++.a
    -rwxr-xr-x    1 root     system      1832129 Dec 22 2005  libtiff.a
    -rwxr-xr-x    1 root     system        62104 Apr 19 2004  libungif.a
    -rwxr-xr-x    1 root     system          782 Apr 19 2004  libungif.la
    -rwxr-xr-x    1 root     system       323485 Jul 08 2017  libz.a
    drwxr-xr-x    3 root     system          256 Apr 23 13:45 oldrpm4db
    drwxr-xr-x    3 root     system          256 Mar 05 2013  pango
    drwxr-xr-x    2 root     system          256 Apr 24 09:34 pkcs11
    drwxr-xr-x    2 root     system          256 Sep 07 2023  pkgconfig
    drwxr-xr-x    3 root     system          256 May 24 2018  python2.7
    drwxr-xr-x   34 root     system        12288 Apr 24 09:34 python3.9
    lrwxrwxrwx    1 root     system           20 Apr 23 13:45 rpm -> /usr/opt/rpm/lib/rpm
    drwxr-xr-x    2 root     system          256 Aug 02 2024  rpm40
    lrwxrwxrwx    1 root     system           35 Apr 23 13:45 rpmpopt -> /usr/opt/rpm/lib/rpm/rpmpopt-4.18.1
    lrwxrwxrwx    1 root     system           26 Apr 23 13:45 rpmrc -> /usr/opt/rpm/lib/rpm/rpmrc
    drwxr-xr-x    3 root     system          256 May 24 2018  saveoldrpm
    drwxr-xr-x    2 root     system          256 Apr 24 09:34 tmpfiles.d
    drwxr-xr-x    3 root     system          256 Mar 05 2013  zsh
    nim2:/ #



    ------------------------------
    Teri Wood
    ------------------------------



  • 4.  RE: dnf failing after install on AIX 7.3 TL3

    Posted Sun April 27, 2025 10:00 PM

    Okay, I get what is happening.

    You do not have openssl 1 or 3 installed.

    You can reverse this. mv /opt/freeware/lib64/libdnf_tmp.a /opt/freeware/lib64/libdnf.a

    The latest toolbox dnf is built with least openssl version 1.

    You can download and install openssl 1.1.1 from the site here. 
    https://www.ibm.com/support/pages/downloading-and-installing-or-upgrading-openssl-and-openssh

    This will get the required libcrypto library and dnf should work.



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



  • 5.  RE: dnf failing after install on AIX 7.3 TL3

    Posted Mon April 28, 2025 09:27 AM

    Aditya,

    I reversed the name change and checked to see if I have openssl installed.  I do openssl  3.0.13.1000.   I followed the link and there is a later version 3.0.15.1000, but I do have openssl installed.

    nim2:/ # mv /opt/freeware/lib64/libdnf_tmp.a /opt/freeware/lib64/libdnf.a
    nim2:/ # ls -la /opt/freeware/lib64/
    total 202328
    drwxr-xr-x    6 root     system         4096 Apr 28 09:08 .
    drwxrwxr-x   21 root     system         4096 Apr 24 09:34 ..
    -rwxr-xr-x    1 root     system      4362593 Apr 07 2023  libcomps.a
    drwxr-xr-x    3 root     system          256 Apr 24 09:34 libdnf
    -rwxr-xr-x    1 root     system     39980008 Jul 07 2023  libdnf.a
    -rw-r--r--    1 root     system     11790638 Apr 08 2022  libmodulemd.a
    lrwxrwxrwx    1 root     system           21 Jun 15 2023  libp11-kit.a -> ../lib/libp11-kit.a.a
    -rwxr-xr-x    1 root     system     25150675 Jun 28 2023  libpython3.9.a
    -rwxr-xr-x    1 root     system     12349455 Apr 06 2023  librepo.a
    -rw-r--r--    1 root     system       726835 Jul 11 2021  libsmartcols.a
    -rwxr-xr-x    1 root     system      1652923 Aug 03 2023  libsolv.a
    -rwxr-xr-x    1 root     system      3423897 Aug 03 2023  libsolvext.a
    -rw-r--r--    1 root     system      1205557 Apr 06 2023  libzck.a
    -rwxr-xr-x    1 root     system      1195700 Apr 06 2023  libzck.so.1.1.4
    -rw-r--r--    1 root     system      1709390 Apr 08 2022  libzstd.a
    drwxr-xr-x    2 root     system          256 Apr 24 09:34 pkcs11
    drwxr-xr-x    2 root     system          256 Apr 24 09:34 pkgconfig
    drwxr-xr-x   34 root     system        12288 Apr 24 09:34 python3.9

    nim2:/ # lslpp -l openssl*
      Fileset                      Level  State      Description
      ----------------------------------------------------------------------------
    Path: /usr/lib/objrepos
      openssl.base           3.0.13.1000  COMMITTED  Open Secure Socket Layer
      openssl.license        3.0.13.1000  COMMITTED  Open Secure Socket License
      openssl.man.en_US      3.0.13.1000  COMMITTED  Open Secure Socket Layer

    Path: /etc/objrepos
      openssl.base           3.0.13.1000  COMMITTED  Open Secure Socket Layer
    nim2:/ # ls -la /var/ssl
    total 128
    drwxr-xr-x    6 root     system         4096 Apr 24 09:34 .
    drwxr-xr-x   41 bin      bin            4096 Apr 24 09:34 ..
    drwxr-xr-x    2 root     system          256 Apr 24 09:34 64
    lrwxrwxrwx    1 root     system           41 Apr 24 09:34 cert.pem -> /opt/freeware/etc/ssl/certs/ca-bundle.crt
    drwxr-xr-x    2 root     system        20480 Apr 24 09:34 certs
    -rw-r--r--    1 root     system          861 Apr 23 13:18 ct_log_list.cnf
    -rw-r--r--    1 root     system          165 Apr 23 13:18 fipsmodule.cnf
    drwxr-xr-x    2 root     system          256 Apr 23 13:18 misc
    -rw-r--r--    1 root     system        13164 Apr 23 13:18 openssl.cnf
    -rw-r--r--    1 root     system        10023 Mar 05 2013  openssl.cnf.rpmorig
    drwxr-x---    2 root     system          256 Oct 04 2006  private
    nim2:/ #



    ------------------------------
    Teri Wood
    ------------------------------



  • 6.  RE: dnf failing after install on AIX 7.3 TL3

    Posted Mon April 28, 2025 09:35 AM

    Do you have openssl rpm installed ? If so, remove it (rpm -e openssl). Toolbox packages work with IBM provided openssl lpp fileset , which you already have. 
    If openssl rpm is not installed, then somehow the files "/opt/freeware/lib/libcrypto.a" and "/opt/freeware/lib/libssl.a" came from a previous openssl rpm installation and not cleaned up properly.  You need to manually remove those files. 



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



  • 7.  RE: dnf failing after install on AIX 7.3 TL3

    Posted Mon April 28, 2025 10:16 AM

    Thank you all!!!!   That was the issue.    Old version of openssl.   I removed it and now dnf update is working.

    nim2:/ # rpm -qa openssl*
    openssl-0.9.7l-1.ppc
    nim2:/ # rpm -e openssl-0.9.7l-1.ppc
    warning: file c_name: remove failed: A file or directory in the path name does not exist.
    warning: file c_issuer: remove failed: A file or directory in the path name does not exist.
    warning: file c_info: remove failed: A file or directory in the path name does not exist.
    warning: file c_hash: remove failed: A file or directory in the path name does not exist.
    warning: file CA.sh: remove failed: A file or directory in the path name does not exist.
    nim2:/ # rpm -qa openssl*
    nim2:/ # 

    nim2:/ # /opt/freeware/bin/dnf update
    AIX generic repository                                                                                       3.9 MB/s |  21 MB     00:05
    AIX noarch repository                                                                                        2.6 MB/s | 3.5 MB     00:01
    AIX 7.3 specific repository                                                                                  575 kB/s | 424 kB     00:00
    Last metadata expiration check: 0:00:01 ago on Mon Apr 28 09:49:08 EDT 2025.
    Dependencies resolved.

    Working now.  



    ------------------------------
    Teri Wood
    ------------------------------