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: library not found for -lstdc++ #413

Open
Nv7-GitHub opened this issue Apr 4, 2021 · 2 comments
Open

ld: library not found for -lstdc++ #413

Nv7-GitHub opened this issue Apr 4, 2021 · 2 comments

Comments

@Nv7-GitHub
Copy link

When I try to compile, I get the error

/usr/local/Cellar/go/1.16.3/libexec/pkg/tool/darwin_amd64/link: running clang++ failed: exit status 1
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It seems like #306 is similar, although the error message is slightly different.
How do I fix this?

@cosmotek
Copy link

I just experienced the same issue.

@BigCatGit
Copy link

me too,
If it is used with OpenCV at the same time, lib cannot be loaded

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

3 participants