RoboStack / ros-humble

Recipes for ROS 2 Humble Hawksbill
81 stars 32 forks source link

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

Open traversaro opened 3 weeks ago

traversaro commented 3 weeks ago

Solution to issue cannot be found in 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

.
matteomastrogiuseppe commented 3 weeks ago

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.

traversaro commented 3 weeks ago

Great, thanks!