You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/05/27 04:14:04 UTC

[GitHub] [incubator-brpc] songlong opened a new issue #1122: 默认thrift编译问题

songlong opened a new issue #1122:
URL: https://github.com/apache/incubator-brpc/issues/1122


   **Describe the bug (描述bug)**
   example/echo_c++
   编译失败:
   /usr/bin/ld: warning: libssl.so.10, needed by /usr/lib/../lib64/libthrift.so, may conflict with libssl.so.1.0.0
   /usr/bin/ld: warning: libssl.so.10, needed by /usr/lib/../lib64/libthrift.so, may conflict with libssl.so.1.0.0
   /usr/bin/ld: warning: libcrypto.so.10, needed by /usr/lib/../lib64/libthrift.so, may conflict with libcrypto.so.1.0.0
   /usr/bin/ld: warning: libcrypto.so.10, needed by /usr/lib/../lib64/libthrift.so, may conflict with libcrypto.so.1.0.0
   /usr/lib/../lib64/libthriftnb.so: undefined reference to `evhttp_set_cb'
   /usr/lib/../lib64/libthriftnb.so: undefined reference to `evhttp_bind_socket'
   /usr/lib/../lib64/libthriftnb.so: undefined reference to `evbuffer_add'
   /usr/lib/../lib64/libthriftnb.so: undefined reference to `evbuffer_pullup'
   /usr/lib/../lib64/libthriftnb.so: undefined reference to `evhttp_send_reply'
   /usr/lib/../lib64/libthriftnb.so: undefined reference to `evhttp_make_reques
   
   **To Reproduce (复现方法)**
   example/echo_c++
   
   **Expected behavior (期望行为)**
   编译不通过
   
   **Versions (各种版本)**
   OS: cent0s6.2
   Compiler: gcc-4.8.5 cmake3.15
   brpc: 0.9.7
   protobuf: 2.6
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] wshilaji commented on issue #1122: 默认thrift编译问题

Posted by GitBox <gi...@apache.org>.
wshilaji commented on issue #1122:
URL: https://github.com/apache/incubator-brpc/issues/1122#issuecomment-870515557


   大佬你解决了吗。我也遇到这个问题了


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] yshiyuan commented on issue #1122: 默认thrift编译问题

Posted by GitBox <gi...@apache.org>.
yshiyuan commented on issue #1122:
URL: https://github.com/apache/incubator-brpc/issues/1122#issuecomment-894683552


   使用libthriftnb的情况下需要链接libevent,可以检查下是否链接了libevent


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] wshilaji commented on issue #1122: 默认thrift编译问题

Posted by GitBox <gi...@apache.org>.
wshilaji commented on issue #1122:
URL: https://github.com/apache/incubator-brpc/issues/1122#issuecomment-870515557


   大佬你解决了吗。我也遇到这个问题了


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org