美文网首页
(转载)/usr/bin/ld: cannot find -lx

(转载)/usr/bin/ld: cannot find -lx

作者: 希望是水户洋平 | 来源:发表于2022-06-22 14:01 被阅读0次

    编译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 -lx

          本文链接:https://www.haomeiwen.com/subject/jzquvrtx.html