Can't load libRayPlugin.so

asked 2016-01-02 05:07:53 -0500

WarwickWagon gravatar image

I'm working with ROS Indigo and Gazebo 6.5.1 and I have installed the corresponding ROS packages by running

sudo apt-get install ros-indigo-gazebo6-*

I've included the libgazebo_ros_laser.so plugin in my .sdf file but when I launch the world and insert the model I get

[Err] [Plugin.hh:165] Failed to load plugin libgazebo_ros_laser.so: libRayPlugin.so: cannot open shared object file: No such file or directory

I know all of this is installed and I found the actual .so files in my computer. I've tried to force add the path to my GAZEBO_PLUGIN_PATH environment variable by doing

export GAZEBO_PLUGIN_PATH=${GAZEBO_PLUGIN_PATH}:/usr/lib/x86_64-linux-gnu/gazebo-6.5/plugins:/opt/ros/indigo/lib

But still no luck. Any ideas?

edit retag flag offensive close merge delete

Comments

Nevermind, it seems I forgot I had to start Gazebo with the ros wrappers to get the ros plugins working.

WarwickWagon gravatar imageWarwickWagon ( 2016-01-04 17:06:54 -0500 )edit

Hi! How did you end up solving this? I am having a similar issue: [Err] [Plugin.hh:165] Failed to load plugin /opt/ros/kinetic/lib/libgazebo_ros_range.so: libRayPlugin.so: cannot open shared object file: No such file or directory. I try to make my iris quadcopter(to which I've added a libgazebo_ros_range.so plugin) in the Firmware directory. Could you please help?

AGaz123 gravatar imageAGaz123 ( 2019-03-29 05:55:49 -0500 )edit