Cannot Cross Compiling from Windows to Linux Using Tags CSE

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.4.0
    • Component/s: Internal
    • None
    • Environment:
      Windows amd64, go version go1.14.4 windows/amd64, mongo-go-driver version v1.4.0+prerelease
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, I have successfully built an API server with MongoDB CSFLE on Windows Machine for "Windows OS" using this command:

      set GOOS = windows, GOARCH = amd64

      go build -tags cse github.com\user\example_app

      output: example_app.exe

       

      And then, I try to cross compiling the application for linux with same command,

      set GOOS=linux, GOARCH = amd64

      go build -tags cse github.com\user\example_app

      output: build failed (screenshot attached)

      Please help me to solve this issue,

      Thanks in advance

       

            Assignee:
            Divjot Arora (Inactive)
            Reporter:
            Apartemenku Ap
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: