ros-humble icon indicating copy to clipboard operation
ros-humble copied to clipboard

Important: libprotobuf==4.25.1 needs to be installed for gazebo_ros_plugins to work with ros2-distro-mutex==0.5.0=humble

Open traversaro opened this issue 1 year ago • 3 comments

Solution to issue cannot be found in the documentation.

  • [X] I checked the documentation.

Issue

Similar to https://github.com/RoboStack/ros-noetic/pull/464, also in ros-humble we have the same problem of packages built against libprotobuf but not properly constraining its version. The proper solution is to merge https://github.com/RoboStack/ros-humble/pull/176 and do a rebuild, but in the meanwhile a simple workaround is to pin libprotobuf==4.25.1 . I opened this issue that hopefully is visible enough for people experiencing this problem.

@matteomastrogiuseppe @STaliani @AleTarsi do you happen to still have around the error you were getting when libprotobuf was missing? If you have it, if you copy&paste the error in the issue it would be easier for future people having this problem to find the solution via search engines or LLMs.

Installed packages

.

Environment info

.

traversaro avatar Apr 24 '24 08:04 traversaro

I don't have the full error log anymore, but here is the core:

libprotobuf.so.25.1.0: cannot open shared object file:

For now, it can be fixed by specifying the libprotobuf version in the environment.yaml.

matteomastrogiuseppe avatar Apr 24 '24 11:04 matteomastrogiuseppe

Great, thanks!

traversaro avatar Apr 24 '24 12:04 traversaro

Probably we should put this somewhere in the docs.

traversaro avatar Jun 01 '24 08:06 traversaro