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 -lc++ #4

Open
urenalopezl826 opened this issue Mar 5, 2021 · 0 comments
Open

ld: library not found for -lc++ #4

urenalopezl826 opened this issue Mar 5, 2021 · 0 comments

Comments

@urenalopezl826
Copy link

urenalopezl826 commented Mar 5, 2021

I'm getting this error when trying to build the project with make

clang++ -c -pipe -stdlib=libc++ -O2 -std=c++17 -mmacosx-version-min=10.13 -I./src ./src/Settings.cpp -o ./Settings.o
clang++ -c -pipe -stdlib=libc++ -O2 -std=c++17 -mmacosx-version-min=10.13 -I./src ./src/DylibBundler.cpp -o ./DylibBundler.o
clang++ -c -pipe -stdlib=libc++ -O2 -std=c++17 -mmacosx-version-min=10.13 -I./src ./src/Dependency.cpp -o ./Dependency.o
clang++ -c -pipe -stdlib=libc++ -O2 -std=c++17 -mmacosx-version-min=10.13 -I./src ./src/main.cpp -o ./main.o
clang++ -c -pipe -stdlib=libc++ -O2 -std=c++17 -mmacosx-version-min=10.13 -I./src ./src/Utils.cpp -o ./Utils.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=libc++ -std=c++17 -Wl,-dead_strip -mmacosx-version-min=10.13  -o ./dylibbundler ./Settings.o ./DylibBundler.o ./Dependency.o ./main.o ./Utils.o
ld: library not found for -lc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [dylibbundler] Error 1

Maybe this is happening because I didn't correctly uninstall the original repo? I removed the original macdylibbundler folder (I had already built/installed it) then I cloned this fork locally and tried to build it but I get the error above.

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