libprotobuf version compatibility issue with Gazebo
Hi,
I am trying to run the turtlebot 3 simulator for the first time on my machine, and am facing the following issue:
When I startup the simulator with the command:
`roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch`
I get the error:
gzclient: error while loading shared libraries: libprotobuf.so.22: cannot open shared object file: No such file or directory
gzserver: error while loading shared libraries: libprotobuf.so.22: cannot open shared object file: No such file or directory
[gazebo-2] process has died [pid 2071, exit code 127, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode /opt/ros/melodic/share/turtlebot3_gazebo/worlds/empty.world __name:=gazebo __log:=/home/rabster/.ros/log/30867f8a-be94-11ea-9e12-001e65bb5428/gazebo-2.log].
The current version of protobuf on my system is: 3.12.0-1.
I saw that the .so file on my machine was libprotobuf.so.23 and the error seemed to be occurring because gazebo was looking for libprotobuf.so.22.
So, I downgraded protobuf from 3.12.0-1 to 3.11.2-1 which had libprotobuf.so.22. However, now the error is thrown for missing libprotobuf.so.23:
gzserver: error while loading shared libraries: libprotobuf.so.23: cannot open shared object file: No such file or directory
gzclient: error while loading shared libraries: libprotobuf.so.23: cannot open shared object file: No such file or directory
[gazebo-2] process has died [pid 3548, exit code 127, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode /opt/ros/melodic/share/turtlebot3_gazebo/worlds/empty.world __name:=gazebo __log:=/home/rabster/.ros/log/ba3b9316-be97-11ea-bbc1-001e65bb5428/gazebo-2.log].
gazebo version: 10.1.0-4
I am on Manjaro (Arch based) OS.
Not sure where to go from here. I will be thankful for any help.