AIX Open Source

 View Only
  • 1.  libgcc dependencies issue

    Posted Wed April 27, 2022 07:15 AM
    Dear all,

    I am trying to install libgcc-8.1 into the AIX server and encounter dependencies.   I wonder if I could get your advise to figure which dependecies based on the following error message thanks a lot in advanced.


    ------------------------------
    KJ Loh
    ------------------------------


  • 2.  RE: libgcc dependencies issue

    Posted Wed April 27, 2022 08:26 AM
    Hi KJ,
    The best way to install packages from AIX toolbox is via dnf because it resolves dependencies and install packages for you. 
    For gcc we are providing two packages one that provides actual libraries and binaries and other that provides symblinks to make it default.
    This is done to keep multiple versions of gcc on system. More information about this can be found on the following blog.
    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

    Currently gcc-8 is default for AIX 7.1 and 7.2 and gcc-10 for AIX 7.3. Hence there are two packages and its dependencies that you will have to install.
    1. gcc-8-1 (Provides symblink to create gcc and libgcc in default path)
    2. gcc8-8.3.0-6 (provides actual libraries and binaries)

    I hope this helps.

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