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.  Assistance with downgrading the gcc package to a older version

    Posted Wed August 19, 2020 10:02 AM
    Hi All,

    I have install rsync on a server and in course it updated the libgcc package to 4.8.3, we had a specific application that required an old version of libgcc of 4.2.0.

    I do have an old rpm package of this install, but I am running into dependencies issues.

    $ rpm -Uvh --oldpackage --test libgcc-4.2.0-3.aix6.1.ppc.rpm
    error: Failed dependencies:
            libgcc >= 4.2.3-2 is needed by (installed) glib2-2.38.2-1.ppc

    $ rpm -ev --test glib2-2.38.2-1.ppc
    error: Failed dependencies:
            libglib-2.0.a(libglib-2.0.so.0) is needed by (installed) gettext-0.17-1.ppc

    $ rpm -ev --test gettext-0.17-1.ppc
    error: Failed dependencies:
            gettext is needed by (installed) AIX-rpm-7.1.5.15-2.ppc
            gettext is needed by (installed) glib2-2.38.2-1.ppc
            gettext is needed by (installed) popt-1.16-1.ppc
            gettext is needed by (installed) libiconv-1.14-2.ppc


    Now because of this I am bit worried about getting rid of these packages and proceeding incase other items start popping up, any assistances you can provide would be helpful.

    Thank you,

    Vijay

    ------------------------------
    Vijay Singh
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Assistance with downgrading the gcc package to a older version

    Posted Wed August 19, 2020 01:28 PM
    These packages doesn't seem to have been installed from AIX Toolbox.
    Anyway, if you want rsync along with your application then one option is to extract the library
    from libgcc-4.2.0-3 and launch your application with LIBPATH to the path where the older libgcc library is extracted.

    If you want to remove the rsync dependencies installed and downgrade libgcc, then option is to update rpm.rte to latest version from
    https://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/INSTALLP/ppc/
    and then try removing the installed packages like glib2, gettext etc. and downgrade libgcc.

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



  • 3.  RE: Assistance with downgrading the gcc package to a older version

    Posted Wed August 19, 2020 02:45 PM
    Thanks for the reply Sangamesh,

    Quick question with install that installp package of rpm, with the latest version of rpm, it has no link to the other RPM packages? Looking back I had
    rpm.rte 4.13.0.2 C F RPM Package Manager
    as the one installed on the server.

    Thank you,

    Vijay

    ------------------------------
    Vijay Singh
    ------------------------------



  • 4.  RE: Assistance with downgrading the gcc package to a older version

    Posted Thu August 20, 2020 01:35 AM
    rpm.rte lesser than 4.13.0.3 had a dependency on some of rpm packages through the virtual package AIX-rpm.
    This dependency has been removed from the rpm.rte-4.13.0.0, hence you can remove the some of the rpm packages like
    gettext etc.
    Have a look at this https://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/INSTALLP/ppc/README_rpm.rte.4.13.0.10

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



  • 5.  RE: Assistance with downgrading the gcc package to a older version

    Posted Fri August 21, 2020 08:40 AM
    Good info,

    Will give the second option a try and will let you know the outcome, thanks again.

    ------------------------------
    Vijay Singh
    ------------------------------



  • 6.  RE: Assistance with downgrading the gcc package to a older version

    Posted Fri September 11, 2020 07:57 AM
    So after testing it all good, was able to downgrade after updating the rpm package. Thanks again for your assistance with this.

    ------------------------------
    Vijay Singh
    ------------------------------