Power Global

Power Global

Connect, learn, share, and engage with IBM Power.

 View Only

install gccgo on the server AIX 7.2, Power 7

  • 1.  install gccgo on the server AIX 7.2, Power 7

    Posted Tue June 07, 2022 03:37 PM
    Hi expert,
    We want to install the Golang on a server of AIX 7.2, Power 7, But it got the install error when trying to use "yum install go"

    Error in PREIN scriptlet in rpm package golang-1.16.15-1.ppc

    This rpm won't work with Power 7 compatibiliy mode.

    prtconf: 

    Processor Version: PV_7_Compat

    error: %prein(golang-1.16.15-1.ppc) scriptlet failed, exit status 1

    I searched for some suggestions in the community and found one, it says the golang support is from Power 8 and it may need to install the gcc-go and then compile the golang binaries with it.

    So, How can I install the gcc-go on an AIX 7.2, Power 7 server?

    Please help me, thank you.



    ------------------------------
    Tao Wen
    ------------------------------