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.  updtvpkg command fails with 'Could not load program /usr/opt/rpm/bin/rpmbuild:' error

    Posted Wed March 02, 2022 01:22 PM

    updtvpkg

    Please wait...error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    error: incorrect format: unknown tag

    Could not load program /usr/opt/rpm/bin/rpmbuild:

    Symbol resolution failed for /opt/freeware/lib/libmagic.a(libmagic.so.1) because:

            Symbol dprintf (number 36) is not exported from dependent

              module /usr/lib/libc.a(shr.o).

            Symbol getline (number 94) is not exported from dependent

              module /usr/lib/libc.a(shr.o).

    System error: Error 0

    Examine .loader section symbols with the 'dump -Tv' command.



    ------------------------------
    Nishith Khandelwal
    ------------------------------

    #AIXOpenSource



  • 2.  RE: updtvpkg command fails with 'Could not load program /usr/opt/rpm/bin/rpmbuild:' error

    Posted Thu March 03, 2022 06:15 AM
    Hi @Nishith Khandelwal,

    In that case, update the AIX package rpm.rte.


    ------------------------------
    Regards,
    Rafael Cezario Damasio Cunha
    Advisory Power Brand Technical Specialist
    rafael.cezario@ibm.com
    ------------------------------



  • 3.  RE: updtvpkg command fails with 'Could not load program /usr/opt/rpm/bin/rpmbuild:' error

    Posted Mon March 07, 2022 01:57 AM

    rpm.rte is already updated.

    below are the rpm.rte and AIX version we have installed on this machine-

    Pre-installation Failure/Warning Summary

    ----------------------------------------

    Name                      Level           Pre-installation Failure/Warning

    -------------------------------------------------------------------------------

    rpm.rte                   4.13.0.11       Already installed

    #


    ------------------

     oslevel

    6.1.0.0



    ------------------------------
    Nishith Khandelwal
    ------------------------------

    ------------------------------
    Nishith Khandelwal
    ------------------------------



  • 4.  RE: updtvpkg command fails with 'Could not load program /usr/opt/rpm/bin/rpmbuild:' error

    Posted Thu March 03, 2022 06:18 AM
    Hi Nitish,

    What is the AIX version and rpm.rte version ?

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



  • 5.  RE: updtvpkg command fails with 'Could not load program /usr/opt/rpm/bin/rpmbuild:' error

    Posted Sun March 06, 2022 11:44 PM
    Hi Sangamesh,

    below are the rpm.rte and AIX version we have installed on this machine-

    Pre-installation Failure/Warning Summary

    ----------------------------------------

    Name                      Level           Pre-installation Failure/Warning

    -------------------------------------------------------------------------------

    rpm.rte                   4.13.0.11       Already installed

    #


    ------------------

     oslevel

    6.1.0.0



    ------------------------------
    Nishith Khandelwal
    ------------------------------



  • 6.  RE: updtvpkg command fails with 'Could not load program /usr/opt/rpm/bin/rpmbuild:' error

    Posted Mon March 07, 2022 10:37 PM
    Any update we have regarding this @SANGAMESH MALLAYYA ?​

    FYI,

    oslevel -s

    6100-01-02-0834



    ------------------------------
    Nishith Khandelwal
    ------------------------------



  • 7.  RE: updtvpkg command fails with 'Could not load program /usr/opt/rpm/bin/rpmbuild:' error

    Posted Tue March 08, 2022 12:45 AM
    Edited by SANGAMESH MALLAYYA Tue March 08, 2022 12:46 AM
    Hi @Nishith Khandelwal

    Your AIX version is very old, I doubt 4.13.0.11  of rpm.rte works with this version of AIX. 
    It's better to update to the latest AIX version to have rpm and YUM/DNF working to install toolbox rpm packages.
    With this AIX version you might need to use rpm.rte-3.0.5.x with which you can't have YUM/DNF.

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