Legacy Dev Forum Posts

 View Only

Sign Up

Unable to build golang sdk on macos

  • 1.  Unable to build golang sdk on macos

    Posted 06-05-2025 18:17

    TheRealKevinGlinski | 2020-05-04 15:56:02 UTC | #1

    On MacOS I'm trying to use the golang sdk, when i run go install github.com/mypurecloud/platform-client-sdk-go/platformclientv2

    I get the error "argument list too long"

    if i add the -x flag to the install command, the command is expanding out every go file into the command line, eg.

    ./action.go ./actionconfig.go ./actioncontract.go ./actioncontractinput.go ./actionentitylisting.go ...

    Any recommendations on how to get around this?


    tim.smith | 2020-05-04 16:05:52 UTC | #2

    It works on my machine. :grimacing: I'm not sure what's different yet, but I've been working with other internal users to determine the cause and either fix it or publish instructions for a workaround. This error was reported as an issue with go recently, but haven't had a chance to investigate it yet.

    For troubleshooting purposes, what is the output of go version on your machine? Mine is go version go1.13.6 darwin/amd64.


    TheRealKevinGlinski | 2020-05-04 16:39:19 UTC | #3

    go version go1.14 darwin/amd64

    osx version 10.14.6 Mojave

    attached is the output from my go install -x

    goinstall.json|attachment (61.7 KB)


    system | 2020-06-04 16:45:16 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 7711