Gazebo | Ignition | Community
Ask Your Question

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

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

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

1 Answer

Sort by ยป oldest newest most voted

answered 2019-08-31 18:27:13 -0500

I have meet such issue because I tried to install gazebo from source. The main season is that is trying to use gazebo::msgs::WorldStatistics which is not provided. That is, it does not link to all "" files. The thing you can do is delete gazebo7 completely and reinstall it with apt-get. Then it will solve the issue.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-04-23 08:06:23 -0500

Seen: 1,381 times

Last updated: Apr 23 '18