You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by "cgeffect (via GitHub)" <gi...@apache.org> on 2024/04/16 14:54:36 UTC

Re: [D] centos7 编译rocketmq-5.0 cpp动态库方法 [rocketmq-clients]

GitHub user cgeffect added a comment to the discussion: centos7 编译rocketmq-5.0 cpp动态库方法

我编译出来的动态库和静态库的大小
-rw-r--r-- 1 xxx algorithm 200M Apr 16 22:11 librocketmq.a
-rwxr-xr-x 1 xxx algorithm  61M Apr 16 22:11 librocketmq.so
请问一下: librocketmq.a依赖的静态库都是已经打进了librocketmq.a里面了吧, 工程中如果使用的话, 直接链接librocketmq.a就可以了吧. 我按照这个操作, 出现了很多absl, grpc, libopencensus_proto未定义的函数错误. 该怎么把librocketmq.a链接到工程里面呢?

GitHub link: https://github.com/apache/rocketmq-clients/discussions/669#discussioncomment-9131322

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org