I tried reinstalling gazebo using the gazebo documentation
In the ### Build And Install Gazebo step
I ran the following command in /tmp/gazebo/build
cmake ../
it gave me the following error:
Could not find a package configuration file provided by "sdformat9"
(requested version 9.8) with any of the following names:
sdformat9Config.cmake
sdformat9-config.cmake
gazebo: error while loading shared libraries: libsdformat9.so.9: cannot open shared object file: No such file or directory
Just a note : I have previously faced this issue and installed the library manually, which asked for more dependencies, after finally resolving those dependencies I land with my original error i.e.
libdart-collision-bullet-dev is already the newest version (6.9.2-2build4).
No actually. I ended up using a docker container.
Afterwards I also reinstalled my ubuntu and did not encounter this issue when I installed ros1 and gazebo.