Skip to content

如何链接rocketmq静态库? #729

Answered by lizhanhui
cgeffect asked this question in Q&A
Discussion options

You must be logged in to vote

静态链接的话, 要确保依赖的版本和你项目中的依赖保持一致, 不然会有符号冲突; 目前还是推荐使用共享库, 共享库只暴露出来RocketMQ的符号, 第三方依赖的符号转为弱符号. https://www.gnu.org/software/gnulib/manual/html_node/Exported-Symbols-of-Shared-Libraries.html

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@cgeffect
Comment options

Answer selected by cgeffect
Comment options

You must be logged in to vote
2 replies
@cgeffect
Comment options

@cgeffect
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants