AIX Open Source

 View Only
  • 1.  issue while installtion Gcc10

    Posted Tue March 28, 2023 02:37 PM

    Hello Team,

    Im getting issue while installing the gcc10, Could you please share the libstdc++ >= 8.3.0-2 package and libgcc8-8.3.0-2.aix7.1.ppc.rpm

    :root:/tmp/gcc>rpm -i gcc10-10.3.0-6.aix7.1.ppc.rpm
    error: Failed dependencies:
            gcc10-cpp = 10.3.0-6 is needed by gcc10-10.3.0-6.ppc
    :root:/tmp/gcc>rpm -i gcc10-cpp-10.3.0-6.aix7.1.ppc.rpm
    error: Failed dependencies:
            gcc10 = 10.3.0-6 is needed by gcc10-cpp-10.3.0-6.ppc
            gmp >= 6.2.1 is needed by gcc10-cpp-10.3.0-6.ppc
            libmpc >= 1.2.1 is needed by gcc10-cpp-10.3.0-6.ppc
            libmpc.a( is needed by gcc10-cpp-10.3.0-6.ppc
            libmpfr.a( is needed by gcc10-cpp-10.3.0-6.ppc
            mpfr >= 4.1.0 is needed by gcc10-cpp-10.3.0-6.ppc
    :root:/tmp/gcc>rpm -i mpfr-4.1.0-1.aix6.1.ppc.rpm
    error: Failed dependencies:
            gmp >= 6.2.1-1 is needed by mpfr-4.1.0-1.ppc
    :root:/tmp/gcc>rpm -i gmp-6.2.1-1.aix6.1.ppc.rpm
    error: Failed dependencies:
            libstdc++ >= 8.3.0-2 is needed by gmp-6.2.1-1.ppc

    Diwakar Mishra

  • 2.  RE: issue while installtion Gcc10

    Posted Wed March 29, 2023 02:23 AM

    Please use dnf to install packages from AIX toolbox.

    It is very difficult and cumbersome to install individual packages using rpm and find dependencies and install them.

    That will be a big cycle.




    Sanket Rathi


  • 3.  RE: issue while installtion Gcc10

    Posted Wed March 29, 2023 08:35 AM

  • 4.  RE: issue while installtion Gcc10

    Posted Thu March 30, 2023 01:04 PM

    Please help with below two dependencies.

    :root:/tmp/gcc>rpm -ivh gcc6-cpp-6.3.0-2.aix7.1.ppc.rpm gcc6-6.3.0-2.aix7.1.ppc.rpm
    error: Failed dependencies:
            libmpc.a( is needed by gcc6-cpp-6.3.0-2.ppc
            libmpfr.a( is needed by gcc6-cpp-6.3.0-2.ppc

    Diwakar Mishra

  • 5.  RE: issue while installtion Gcc10

    Posted Fri March 31, 2023 09:18 AM



    This website has all the RPM files that you can download from. You can install this on test machine and make sure everything works before you install on production server.



    other option if you install DNF and use DNF to install RPM files then it finds dependencies and installs them all together.