ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Note: the following applies to ros 1.7.11 and gazebo 1.6.1 or earlier as of this writing:

Turns out there is a bug with roslib compiler flag -Bsymbolic-functions causing gazebo to segfault. Hopefully this will be fixed with the next release of ros.

For now, if you urgently need to run gazebo in ros environment, you will have compile ros locally and overwrite the debian installed version of ros (libroslib.so) by following instruction in fuerte migration and compiling+installing ros locally:

mkdir work
cd work
rosco --distro=unstable --dev ros
cd ros
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/ros/fuerte -DCMAKE_BUILD_TYPE=Debug ..
make
sudo make install

But as noted in the ticket, this will break rviz. To circumvent this problem, I typically start rviz in a separate shell within electric.

Note: the following applies to ros 1.7.11 and gazebo 1.6.1 or earlier as of this writing:

Update:

Turns out there is a the bug with roslib concerning compiler flag -Bsymbolic-functions causing gazebo to segfault. Hopefully this will be fixed with the next release of ros.

For now, if you urgently need to run gazebo in ros environment, you will have compile ros locally and overwrite the debian installed version of ros (libroslib.so) by following instruction in fuerte migration and compiling+installing ros locally:below has been fixed, so

mkdir work
cd work
rosco --distro=unstable --dev ros
cd ros
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/ros/fuerte -DCMAKE_BUILD_TYPE=Debug ..
make
sudo make install
apt-get update
sudo apt-get upgrade

But as noted in to get the ticket, this will break rviz. To circumvent this problem, I typically start rviz in a separate shell within electric.latest versions of gazebo which do not have the boost related segmentation fault.

Update:

the bug concerning compiler flag -Bsymbolic-functions below has been fixed, so

sudo apt-get update
sudo apt-get upgrade

to get the latest versions of gazebo ros and simulator_gazebo which do not have the boost related segmentation fault.

Update:

the bug concerning The segmentation fault as described in ticket: compiler flag -Bsymbolic-functions below has been fixed, so

sudo apt-get update
sudo apt-get upgrade

to get the latest versions of ros and simulator_gazebo which do not have the boost related segmentation fault.