AIX Open Source

 View Only
  • 1.  Cannot install libgcc

    Posted Wed March 16, 2022 07:25 AM
    Hi,

    I need to install libgcc on an AIX 7.1 LPAR.

    Starting point :
    root@lpar1:/home/root > rpm -qa | egrep "libstd|gcc"
    empty response

    I cannot install libgcc and cannot succeed to resolve deps :
    root@lpar1:/home/root > rpm -Uvh libgcc-8-1.aix7.1.ppc.rpm libgcc8-8.3.0-6.aix7.1.ppc.rpm
    error: failed dependencies:
    libgcc <= 9.1.0 conflicts with libgcc8-8.3.0-6

    Thanks in advance for your help

    ------------------------------
    S GARCIA
    ------------------------------


  • 2.  RE: Cannot install libgcc

    Posted Wed March 16, 2022 07:28 AM
    Do you already have another libgcc installed on your system ? From where did you install that ? 
    We recommend dnf to install open source packages from AIX toolbox.

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



  • 3.  RE: Cannot install libgcc

    Posted Wed March 16, 2022 07:37 AM
    libgcc-4.8.1-1 was installed previously but we have uninstalled it.

    We cannot install yum/dnf on this prod LPAR.


    ------------------------------
    S GARCIA
    ------------------------------



  • 4.  RE: Cannot install libgcc

    Posted Wed March 16, 2022 07:38 AM
    libgcc-4.8.1-1 was installed from AIX Toolbox

    ------------------------------
    S GARCIA
    ------------------------------



  • 5.  RE: Cannot install libgcc

    Posted Wed March 16, 2022 09:43 AM
    Any other idea ?

    ------------------------------
    S GARCIA
    ------------------------------



  • 6.  RE: Cannot install libgcc

    Posted Wed March 16, 2022 11:21 AM
    Finally I successfully install classic libgcc without the multi version support

    ------------------------------
    S GARCIA
    ------------------------------



  • 7.  RE: Cannot install libgcc

    Posted Wed September 07, 2022 11:23 AM
    Hello Sylvain,

    Can you share how you got it done? I have similar issue but on aix7.2

    ------------------------------
    Fatai Amo
    ------------------------------



  • 8.  RE: Cannot install libgcc

    Posted Thu September 08, 2022 08:25 AM
    Hello,

    I uninstalled the multi version libgcc :
    rpm -e libgcc8-8.3.0-4
    And then I installed the "standard" libgcc :
    rpm -ivh libgcc-8.3.0-2.aix7.1.ppc.rpm

    Et voila !

    ------------------------------
    Sylvain
    ------------------------------



  • 9.  RE: Cannot install libgcc

    Posted Thu September 08, 2022 01:56 PM
    Hi Fatai,

    All the multi version support gcc packages needs to be installed with the same command.
    You can have look at this forum https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2020/12/17/aix-gcc-multi-version-support-improvements

    DNF can resolve all these dependencies easily.

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