Failed to load plugin /opt/ros/kinetic/lib/

asked 2018-04-23 08:06:23 -0600

NT gravatar image


I installed gazebo 7.11.1 from the source code.
In addition, I installed gazebo-ros-pkgs and gazebo-ros-control from the binary.
With the following command, Gazebo starts without error.

 $ rosrun gazebo_ros gazebbo

However, when running the rrbot_gazebo launch file of a "Tutorial: Using a URDF in Gazebo", the RRBot did not spawn. (But I can spawn sdf model by Insert tab.)

$ roslaunch rrbot_gazebo rrbot_world.launch

I rewritten rrbot_world.launch to run empty_world.launch with the --verbose option.
Then the following error was occurred.

[Err] [Plugin.hh:165] Failed to load plugin /opt/ros/kinetic/lib/ /opt/ros/kinetic/lib/ undefined symbol: _ZN6gazebo4msgs15WorldStatistics17default_instance_E exists in /opt/ros/kinetic/lib/.
So I thought that the path did not export and I set GAZEBO_PLUGIN_PATH.

$ export GAZEBO_PLUGIN_PATH=/opt/ros/kinetc/lib:${GAZEBO_PLUGIN_PATH}

However, the error did not change.

A question with a similar error already exists, but it seems that use custom plugins.
I did not find anything about errors with default plugins, as far as I was looking for.

I wonder how I can resolve this problem.

The environment is as follows.
Ubuntu: 16.04
ROS: Kinetic
Gazebo: 7.11.1

edit retag flag offensive close merge delete