Home | Tutorials | Wiki | Issues
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

After building from source, before running Gazebo, you need to modify LD_LIBRARY_PATH to include /opt/ros/fuerte/lib, which is where the missing library is installed. The easiest way to do that is to source the ROS setup file, which you did before building Gazebo:

. /opt/ros/fuerte/setup.bash

Alternatively, you could set it manually:

export LD_LIBRARY_PATH=/opt/ros/fuerte/lib:$LD_LIBRARY_PATH

You don't need to do this when using the binary packages because the deb-builder adds the above the export line to Gazebo's setup.sh because it knows that it configured Gazebo to use ROS libraries.

When you encounter these kinds of problems, a good way to check what's missing is:

ldd `which gazebo` | grep "not found"

If that commands returns nothing, then you're all set; otherwise, you still have some missing libraries to be resolved.