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

ld: warning: -bind_at_load is deprecated on macOS warning while running #2033

Closed
rr-jino-jose opened this issue Sep 25, 2023 · 3 comments
Closed

Comments

@rr-jino-jose
Copy link

ld: warning: -bind_at_load is deprecated on macOS

I see this error while running with cobra even in subcommands

go run main.go get --help                                                                                                          took  12s at  07:21:10 PM
# command-line-arguments
ld: warning: -bind_at_load is deprecated on macOS

cobra version in use: github.com/spf13/cobra v1.7.0

Any help is appreciated.

@jonathan-innis
Copy link

Seeing the same error as well. Has there been any investigation on what might be going on here?

@TheKLARKEN
Copy link

I was able to learn more about this issue by looking at the comment below. I haven't resolved it, since it doesn't show up in my compiled binary, but at least there's more info on it out there. :)

golang/go#61558 (comment)

@marckhouzam
Copy link
Collaborator

Thanks @TheKLARKEN !
So it seems such warnings can be ignored and the Go project will be addressing them.

I will close this since it’s not a cobra problem

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

4 participants