Open Source Development

Power Open Source Development

Connect, learn, share, and engage with IBM Power.


#Power


#Power
 View Only
  • 1.  Problem with popt 1.18

    Posted Thu December 03, 2020 12:16 PM
    I have not posted to this forum before but hope this is the correct place to do so.

    After updating an AIX partition to AIX 7.1 TL 5 SP 7, I executed a "yum update" which also updated the installed  popt-1.16-3.ppc to popt-1.18-1.ppc. The updates completed successfully (no errors) but afterwards, no "yum" commands or "rpm" commands would work because libpopt.so was missing.

    # rpm -qa | sort

    exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:

            0509-150   Dependent module libpopt.so could not be loaded.

            0509-022 Cannot load module libpopt.so.

            0509-026 System error: A file or directory in the path name does not exist.

    From what I can see, libpopt.so is provided by the AIX fileset rpm.rte.

    # lslpp -f rpm.rte | grep libpopt*

                            /usr/opt/freeware/lib/libpopt.a

                            /usr/opt/freeware/lib/libpopt.so -> /usr/opt/freeware/lib/libpopt.so.0

                            /usr/opt/freeware/lib/libpopt.so.0.0.0 -> /usr/opt/freeware/lib/libpopt.so.0

                            /usr/opt/freeware/lib/libpopt.so.0


    I was able to get around this by excluding popt from the yum update.



    ------------------------------
    Donovan Sproul
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Problem with popt 1.18

    Posted Thu December 03, 2020 12:28 PM
    I guess the rpm.rte version in the machine is less than 4.13.0.4.
    rpm.rte < 4.13.0.4 has file overlapping issues with rpm packages ( https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/INSTALLP/ppc/README_rpm.rte )

    I would suggest you to install the latest rpm.rte ( https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/INSTALLP/ppc/ ) to avoid these kind of issues.

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



  • 3.  RE: Problem with popt 1.18

    Posted Thu December 03, 2020 01:21 PM

    Thanks ever so much for this update.

     

    The AIX 7.1 TL 5 SP 7 which was applied, is the latest AIX 7.1 fixes currently available at Fix Central. It includes up to rpm.rte 4.13.0.3.

     

    Regards,

     

    Donovan Sproul

    Royal Caribbean Cruises, Ltd

    IT Operational Excellence Infrastructure

    14700 Caribbean Way

    Miramar, FL 33027

    Phone: (954) 517-4869

    Cell: (954) 604-5152

    Email: DSproul@rccl.com

     

    "If a man does his best, what else is there?" - General George S. Patton