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.  Dependency issue for AIX RPMs

    Posted Mon April 18, 2022 12:56 PM
    I am trying to install RPMs, but getting stuck with dependency version requests that I can not find for download. I am looking for a resolution to this.

    Installed RPMs:
    pa03103:/home/daniello/rpms# rpm -qa
    tcl-8.4.7-3.ppc
    expect-5.42.1-3.ppc
    gpe-agent-comm-2.7-1.ppc
    libgcc8-8.3.0-6.ppc
    libgomp8-8.3.0-6.ppc
    tk-8.4.7-3.ppc
    AIX-rpm-7.2.5.100-6.ppc
    gpe-agent-aix-3.6-1.ppc
    libstdc++8-8.3.0-6.ppc
    libgcc6-6.3.0-2.ppc

    RPMs I am looking to install:
    pa03103:/home/daniello/rpms# ls
    bash-5.1.4-2.aix6.1.ppc.rpm info-6.7-1.aix6.1.ppc.rpm libiconv-1.16-1.aix6.1.ppc.rpm ncurses-6.2-3.aix6.1.ppc.rpm
    cyrus-sasl-2.1.27-1.aix6.1.ppc.rpm libffi-3.2.1-3.aix6.1.ppc.rpm libstdcplusplus8-8.3.0-6.aix7.2.ppc.rpm openldap-2.4.58-2.aix6.1.ppc.rpm
    db-5.3.28-1.aix6.1.ppc.rpm libgcc6-6.3.0-2.aix7.2.ppc.rpm libtextstyle-0.20.2-2.aix7.1.ppc.rpm sudo-1.9.5p2-1.aix6.1.ppc.rpm
    gettext-0.20.2-2.aix7.1.ppc.rpm libgcc8-8.3.0-6.aix7.2.ppc.rpm libunistring-0.9.10-1.aix6.1.ppc.rpm xz-libs-5.2.5-1.aix6.1.ppc.rpm
    glib2-2.56.1-3.aix6.1.ppc.rpm libgomp8-8.3.0-6.aix7.2.ppc.rpm libxml2-2.9.11-1.aix6.1.ppc.rpm zlib-1.2.11-2.aix6.1.ppc.rpm

    my failure message:
    pa03103:/home/daniello/rpms# rpm -ivh --test *
    error: Failed dependencies:
    libgcc >= 8.3.0-1 is needed by cyrus-sasl-2.1.27-1.ppc
    libgcc >= 8.3.0-1 is needed by db-1:5.3.28-1.ppc
    libgcc >= 8.3.0 is needed by gettext-0.20.2-2.ppc
    libgomp >= 8.3.0 is needed by gettext-0.20.2-2.ppc
    libstdc++ >= 8.3.0 is needed by gettext-0.20.2-2.ppc
    libgcc >= 8.3.0 is needed by glib2-2.56.1-3.ppc
    libgcc >= 6.3.0-1 is needed by libffi-3.2.1-3.ppc
    libgcc >= 8.3.0 is needed by libtextstyle-0.20.2-2.ppc
    libgcc >= 8.3.0 is needed by libunistring-0.9.10-1.ppc
    libgcc >= 8.3.0 is needed by libxml2-2.9.11-1.ppc
    libgcc >= 8.3.0-1 is needed by ncurses-6.2-3.ppc
    libstdc++ >= 8.3.0-1 is needed by ncurses-6.2-3.ppc
    libgcc >= 8.3.0-1 is needed by openldap-2.4.58-2.ppc
    libgcc >= 8.3.0 is needed by xz-libs-5.2.5-1.ppc
    pa03103:/home/daniello/rpms#

    I would think the installed ligcc 8.3.0-6, libstdc++8-8.3.0-6.ppc and libgcc6-6.3.0-2.ppc should suffice for the prerequisites?  If it is specifically requiring the -1 version of the RPMs, where do I download them from?  The AIX Tool Box site does not appear to allow for back level downloads.

    Any help would be greatly appreciated.  Thanks.

    -nick

    ------------------------------
    Nick Daniello
    ------------------------------


  • 2.  RE: Dependency issue for AIX RPMs

    Posted Tue April 19, 2022 12:16 PM
    The best way to resolve dependencies is to install dnf. 

    In your case you need libgcc-8.3.0-6. There are two gcc packages
    1. version specific gcc package that provides the actual content
    2. another one is gcc metapackge that provide the symblink from /opt/freeware/bin and /opt/freeware/lib

    You have install version specific gcc package now you need to install meta package of libgcc and other libraries. 
    Metapackage does not come with version appended in the name of the package. 

    This is done to install multiple versions of gcc on the system. Following is more information about this
    https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2020/12/17/aix-gcc-multi-version-support-improvements?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9


    ------------------------------
    SANKET RATHI
    ------------------------------