Robotics StackExchange | Archived questions

Can't load libRayPlugin.so

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 libgazeboroslaser.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 libgazeboroslaser.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 GAZEBOPLUGINPATH environment variable by doing

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

But still no luck. Any ideas?

Asked by WarwickWagon on 2016-01-02 06:07:53 UTC

Comments

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

Asked by WarwickWagon on 2016-01-04 18:06:54 UTC

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?

Asked by AGaz123 on 2019-03-29 05:55:49 UTC

Answers