AIX Open Source

 View Only
  • 1.  dnf not working after dnf update.

    Posted Tue May 14, 2024 01:12 PM

    I Downloaded and ran the installer for DNF:

    I then ran a dnf update. 

    Afterwards I get the following:  

    # dnf 
    exec(): 0509-036 Cannot load program /opt/freeware/libexec/python3.9_32 because of the following errors:
            0509-130 Symbol resolution failed for /opt/freeware/lib/libpython3.9.a( because:
            0509-136   Symbol _GLOBAL__AIXI_libintl_so (number 283) is not exported from
                       dependent module /usr/opt/rpm/lib/libintl.a(
            0509-136   Symbol _GLOBAL__AIXD_libintl_so (number 284) is not exported from
                       dependent module /usr/opt/rpm/lib/libintl.a(
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.

    I do not have a LIBPATH set.

    # oslevel -s

    Please help me find the issue.


    Scott Kramer

  • 2.  RE: dnf not working after dnf update.

    Posted Thu May 16, 2024 02:10 AM

    Hi Scott,

    This happened because those two symbols are not there in that libintl. We have a /opt/freeware/lib/libintl.a which will have these symbols.

    First check if /opt/freeware/lib/libintl.a exists.


    If it exists and still does not work then,


    Can you try

    export LIBPATH="/opt/freeware/lib"

    Do a "dnf install gettext"


    This should get the libintl.

    Can you do a "dnf update" after that
    Then unset the LIBPATH..


    dnf update should work after this.


    Let us know if it still does not work



  • 3.  RE: dnf not working after dnf update.

    Posted Fri May 17, 2024 05:35 PM


    Thank you very much for your response!  With that information I re-installed gettext and then a few other packages that dnf reported afterwards and was able to get it working.

    I had to ultimately re-install the following to get dnf working:

    rpm -Uvh --reinstall gettext-0.21-2.aix7.1.ppc.rpm
    rpm -Uvh --reinstall bzip2-1.0.8-2.aix6.1.ppc.rpm
    rpm -Uvh --reinstall sqlite-3.41.2-1.aix7.1.ppc.rpm 
    rpm -Uvh --reinstall pysqlite-2.8.3-2.aix6.1.ppc.rpm

    Not sure why they were in the state they were in, but they are fixed now.



    Scott Kramer