Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible Gazebo libraries after update #168

Open
SeapathMaster opened this issue Jul 2, 2024 · 3 comments
Open

Incompatible Gazebo libraries after update #168

SeapathMaster opened this issue Jul 2, 2024 · 3 comments

Comments

@SeapathMaster
Copy link

SeapathMaster commented Jul 2, 2024

On Gazebo Harmonic, after updating to the latest version, I get errors of the following type:

[ruby $(which gz) sim-1] gz sim server: symbol lookup error: /usr/lib/x86_64-linux-gnu/gz-physics-7/engine-plugins/libgz-physics-dartsim-plugin.so: undefined symbol: _ZNK3sdf3v148Geometry9ConeShapeEv

Recompiling works without issues, but during runtime, Gazebo crashes with the above error as the combination of the new library versions with OGRE-2.3.1 seems not to work any longer. Using it with OGRE-2.3.3 works for Gazebo, but then asv_wave_sim doesn't work (see issue #164 ).

@SeapathMaster
Copy link
Author

SeapathMaster commented Jul 4, 2024

This works for ROS2 Jazzy Jalisco on Ubuntu 24.04 LTS with Gazebo Harmonic to get your plugins running:
I removed the non-standard Gazebo completely and just sticked with the ROS2 standard Gazebo installation:

$ sudo apt install ros-jazzy-ros-gz

However, as the structure of the OGRE installation is different from earlier versions and many of the libs weren't found during compile time, I created a new master CMakeLists.txt (in the gz-waves directory). If you replace the original one by this one, everything else works as usual.

I attached it here. Note that it isn't as sophisticated as yours and will likely work only with the setup I have which is the standard for ROS2 Jazzy, however.
CMakeLists.txt

@srmainwaring
Copy link
Owner

srmainwaring commented Jul 4, 2024

Thanks @OlegARinchov - I'll take a look.

If the standalone and ROS 2 integrated Gazebo installations are inconsistent on Ubuntu 24.04 that is an issue that should be raised with OSRF. I imagine that is going to cause problems for others as well.

@SeapathMaster
Copy link
Author

I believe, it was changed intentionally given the statement in the ROS2 Jazzy release notes:
https://docs.ros.org/en/jazzy/Releases/Release-Jazzy-Jalisco.html#changes-to-how-ros-2-and-gazebo-integrate
While it might be simpler and more elegant, it also limits backwards compatibility. I suspect that this is the source of all the trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants