GitHub user lizhanhui added a comment to the discussion: 如何链接rocketmq静态库?
静态链接的话, 要确保依赖的版本和你项目中的依赖保持一致, 不然会有符号冲突; 目前还是推荐使用共享库, 共享库只暴露出来RocketMQ的符号, 第三方依赖的符号转为弱符号. https://www.gnu.org/software/gnulib/manual/html_node/Exported-Symbols-of-Shared-Libraries.html GitHub link: https://github.com/apache/rocketmq-clients/discussions/729#discussioncomment-9141667 ---- This is an automatically sent email for dev@rocketmq.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@rocketmq.apache.org