Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error trying to do a linux build on a Mac #1159

Open
trevordowdle opened this issue Jan 25, 2024 · 0 comments
Open

Error trying to do a linux build on a Mac #1159

trevordowdle opened this issue Jan 25, 2024 · 0 comments

Comments

@trevordowdle
Copy link

trevordowdle commented Jan 25, 2024

Expected behavior

go build command generates executable when targeting linux

Actual behavior

No executable is generated

I see the following output:

sh-3.2$ GOOS=linux GOARCH=amd64 go build
# github.com/apache/pulsar/pulsar-client-go/pulsar
vendor/github.com/apache/pulsar/pulsar-client-go/pulsar/message.go:88:9: undefined: deserializeMessageId
vendor/github.com/apache/pulsar/pulsar-client-go/pulsar/message.go:93:30: undefined: earliestMessageID
vendor/github.com/apache/pulsar/pulsar-client-go/pulsar/message.go:96:28: undefined: latestMessageID
vendor/github.com/apache/pulsar/pulsar-client-go/pulsar/client.go:29:9: undefined: newClient
vendor/github.com/apache/pulsar/pulsar-client-go/pulsar/client.go:37:9: undefined: newAuthenticationToken
vendor/github.com/apache/pulsar/pulsar-client-go/pulsar/client.go:42:9: undefined: newAuthenticationTokenSupplier
vendor/github.com/apache/pulsar/pulsar-client-go/pulsar/client.go:47:9: undefined: newAuthenticationTLS
vendor/github.com/apache/pulsar/pulsar-client-go/pulsar/client.go:52:9: undefined: newAuthenticationAthenz

Steps to reproduce

  1. import "github.com/apache/pulsar/pulsar-client-go/pulsar"
  2. Run
    GOOS=linux GOARCH=amd64 go build
    or
    GOOS=linux go build

System configuration

not applicable, i'm using a v2 module but not sure that has any bearing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant