AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  DNF issues after updating rpm and running aix_toolbox.sh

    Posted Mon July 03, 2023 10:09 AM

    AIX 7.2

    I've just updated rpm to 4.15.1.1010, run a updtvpkg and run the aix_toolbix.sh -d command.

    Now when I run dnf update I get the following:

    exec(): 0509-036 Cannot load program /opt/freeware/bin/python3_32 because of the following errors:
            0509-130 Symbol resolution failed for /opt/freeware/lib/libpython3.7m.so because:
            0509-136   Symbol _GLOBAL__AIXI_libintl_so (number 6) is not exported from
                       dependent module /usr/opt/rpm/lib/libintl.a(libintl.so.8).
            0509-136   Symbol _GLOBAL__AIXD_libintl_so (number 7) is not exported from
                       dependent module /usr/opt/rpm/lib/libintl.a(libintl.so.8).
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.

    Any thoughts on how I can fix this?



    ------------------------------
    Glenn Robinson
    ------------------------------


  • 2.  RE: DNF issues after updating rpm and running aix_toolbox.sh

    Posted Tue July 04, 2023 09:16 AM

    Now the interpreter path in dnf is /opt/freeware/libexec/python3.9_32  with dnf-4.2.17-32_51.ppc

    Please check if the update was correct and files installed by dnf-4.2.17-32_51.ppc is proper.



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



  • 3.  RE: DNF issues after updating rpm and running aix_toolbox.sh

    Posted Tue July 04, 2023 02:40 PM

    The packages look good to me:

    # rpm -qa | grep -E "dnf|python"
    python3.9-3.9.16-0.ppc
    python3.9-libdnf-0.39.1-32_3.ppc
    python3.9-gpg-1.13.1-32_3.ppc
    dnf-data-4.2.17-32_4.noarch
    python3-dnf-4.2.17-32_4.noarch
    dnf-automatic-4.2.17-32_4.noarch
    python3-gpg-1.13.1-32_3.ppc
    python3-libdnf-0.39.1-32_3.ppc
    python3-3.9.16-0.ppc
    rpm-python3.9-4.15.1-32_2.ppc
    libdnf-0.39.1-32_3.ppc
    python3.9-hawkey-0.39.1-32_3.ppc
    python3.9-librepo-1.11.0-32_2.ppc
    python3.9-libcomps-0.1.15-32_1.ppc
    python3.9-dnf-4.2.17-32_4.noarch
    dnf-4.2.17-32_4.noarch
    python3-libcomps-0.1.15-32_1.ppc
    python3-librepo-1.11.0-32_2.ppc
    python3-hawkey-0.39.1-32_3.ppc
    rpm-python3-4.15.1-32_2.ppc

    I've compared the /opt/freeware/bin and /opt/freeware/libexec on this LPAR and another LPAR which is working OK and the look the same.

    -rwxr-xr-x    1 root     system       402966 22 Jun 2022  dirmngr_ldap
    drwxr-xr-x    3 root     system        12288 23 May 17:34 git-core
    -rwxr-xr-x    1 root     system       468446 22 Jun 2022  gpg-check-pattern
    -rwxr-xr-x    1 root     system       403625 22 Jun 2022  gpg-preset-passphrase
    -rwxr-xr-x    1 root     system       606631 22 Jun 2022  gpg-protect-tool
    -rwxr-xr-x    1 root     system       631517 22 Jun 2022  gpg-wks-client
    drwxr-xr-x    2 root     system         4096 03 Jul 14:50 p11-kit
    -rwxr-xr-x    1 root     system           94 28 Jun 19:03 pydoc3.9_32
    -rwxr-xr-x    1 root     system       224054 28 Jun 18:57 python3.9_32
    -rwxr-xr-x    1 root     system       937185 22 Jun 2022  scdaemon
    drwxr-xr-x    2 root     system         4096 23 May 17:35 sudo

    Any further thoughts on this?



    ------------------------------
    Glenn Robinson
    ------------------------------



  • 4.  RE: DNF issues after updating rpm and running aix_toolbox.sh

    Posted Wed July 05, 2023 01:29 PM

    Hi Glenn,

    You can verify if the /opt/freeware/bin/dnf has interpreter line has "#!/opt/freeware/libexec/python3.9_32"

    Also, you can verify if the packages are proper with the command "rpm -Va"



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



  • 5.  RE: DNF issues after updating rpm and running aix_toolbox.sh

    Posted Wed July 05, 2023 04:36 PM

    Sangamesh,

    rpm -Va

    # rpm -Va
    S.5....T.  c /opt/freeware/etc/dnf/dnf.conf
    .M.......  g /opt/freeware/etc/ssl/certs/extracted/java/cacerts
    .M.......  g /opt/freeware/etc/ssl/certs/extracted/openssl/ca-bundle.trust.crt
    .M.......  g /opt/freeware/etc/ssl/certs/extracted/pem/email-ca-bundle.pem
    .M.......  g /opt/freeware/etc/ssl/certs/extracted/pem/objsign-ca-bundle.pem
    .M.......  g /opt/freeware/etc/ssl/certs/extracted/pem/tls-ca-bundle.pem

    /opt/freeware/bin/dnf looks OK too:

    head /opt/freeware/bin/dnf
    #!/opt/freeware/libexec/python3.9_32
    # The dnf executable script.
    #
    # Copyright (C) 2012-2016 Red Hat, Inc.
    #
    # This copyrighted material is made available to anyone wishing to use,
    # modify, copy, or redistribute it subject to the terms and conditions of
    # the GNU General Public License v.2, or (at your option) any later version.
    # This program is distributed in the hope that it will be useful, but WITHOUT
    # ANY WARRANTY expressed or implied, including the implied warranties of



    ------------------------------
    Glenn Robinson
    ------------------------------