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 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?
Nevermind, it seems I forgot I had to start Gazebo with the ros wrappers to get the ros plugins working.
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?