(转载)/usr/bin/ld: cannot find -lxxx 的解决办法

编译yadcc遇到这个问题:

[278/1842] LINK BINARY build64_r...adcc/client/yadcc-universal-wrapper
FAILED: build64_release/yadcc/client/yadcc-universal-wrapper
g++ -o build64_release/yadcc/client/yadcc-universal-wrapper -Wl,--no-as-needed -lpthread -static-libgcc -static-libstdc++ @build64_release/yadcc/client/yadcc-universal-wrapper.rsp -lpthread
/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
[280/1842] CMAKE BUILD //thirdpa...entracing-cpp:opentracing-cpp_build
ninja: build stopped: subcommand failed.
Blade(error): Build failure.
Blade(info): Cost time 6m28.5s
Blade(error): Failure

以下这篇文章的解决办法描述得很好了:

https://forums.centos.org/viewtopic.php?t=61394

你可能感兴趣的:((转载)/usr/bin/ld: cannot find -lxxx 的解决办法)