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/12/25 02:43:43 UTC

[GitHub] [incubator-brpc] weixinwei opened a new issue #1312: link brpc in static and dynamic simultaneously

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


   如果在一个进程中同时link brpc.so和brpc.a,有什么影响吗?


----------------------------------------------------------------
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] gydong commented on issue #1312: link brpc in static and dynamic simultaneously

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


   你是怎么做到同时链接的?


----------------------------------------------------------------
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] weixinwei commented on issue #1312: link brpc in static and dynamic simultaneously

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


   > 你是怎么做到同时链接的?
   
   cmake,一个进程下分为几个模块,有的模块直接target_link_libraries(brpc),有的模块检查了LINK_SO,就链到了libbrpc.a。
   看cmake的link.txt也能看到-lbrpc ../../lib/libheap_profiler.a ../../lib/libcpu_profiler.a ../../lib/liblua.a -lm /usr/lib64/libdl.so /usr/lib64/libbrpc.a /usr/lib64/libgflags.so /usr/lib64/libleveldb.so -lssl -ldl


----------------------------------------------------------------
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