AIX

 View Only
  • 1.  rpm.rte error

    Posted Thu October 21, 2021 01:36 PM
    oslevel -s
    could not load program /usr/opt/freeware/bin/rpm:
                 Dependent module libpopt.so could not be loaded.
    Could not load module libpopt.so
    System error: No such file or directory
    7200-00-01-1543

    ls -l /usr/opt/freeware/bin/rpm
    -rwxr-xr-x    1   root    system    25948    Feb 28 2017 rpm

    lslpp -L rpm.rte
    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 does not exist.
    Fileset                                      Level      State     Type    Description    (Uninstaller)
    -------------------------------------------------------------------------------------------------------------
    rpm.rte                                     4.9.1.3       C            F      RPM Package  Manager


    rpm -q --provides AIX-rpm | grep popt
    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 does not exist.

    cd /usr/opt/freeware//lib
    ls -l |grep libpopt.so
    The file libpopt.so is not found
    only have libpopt.a

    How to create this file libpopt.so ?




    ------------------------------
    義龍 朱
    ------------------------------


  • 2.  RE: rpm.rte error

    IBM Champion
    Posted Fri October 22, 2021 03:34 AM
    - Download the latest rpm.rte from AIX Toolbox
    - Reinstall rpm.rte with -F (force)

    It should help.

    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------



  • 3.  RE: rpm.rte error

    Posted Sun November 07, 2021 03:18 AM
    Thank for your reply

    I copy libpopt.so form another AIX server

    This case is OK


    ------------------------------
    義龍 朱
    ------------------------------