Closed aadith-warrier closed 1 month ago
What version of protobuf do you have? I suspect you've installed a version other than the one supplied by your OS (Ubuntu 22.04).
I have version 3.12.4, although I am not sure what version ships by default with 22.04
Ubuntu 22.04 ships with 3.12.4, so that seems okay. What did you set GZ_VERSION
to?
harmonic
I assumed that ros_gz_bridge would have to be built from the source as there is no recommendation for integration between Humble and Harmonic on the ros2 branch. However, on the humble branch, it mentions that binaries are available. It would be nice if this is updated on the ros2 branch as well.
Sincere apologies for going dead for a while, I had my end sems.
PRs are welcome regarding the documentation :)
The fact that the error logs mention /usr/lib/x86_64-linux-gnu/libprotobuf.a
is suspect. That's a static library and we should be linking against libprotobuf.so
, the dynamic library. I was able to build the humble
branch locally with GZ_VERSION=harmonic
without any issues, so I'm not sure what could be wrong. Do you mind doing a clean build and seeing if you have the same error?
I ran two clean builds, one on my system which failed with the same error and another on a docker container, which worked just fine. This definitely seems to be something specific to my system. Both are using the same protoc versions.
Please feel free to close the issue unless you would like to investigate further.
I haven't seen this issue come up before and like you said, it seems specific to your system, so I'll go ahead and close this. I hope you figure out what's causing it to try linking against a static library.
Environment
Description
Steps to reproduce
Output