RViz fails in fresh melodic install: libdouble-conversion not found

asked 2019-10-28 22:07:48 -0600

jbb55 gravatar image

I'm setting up a new ROS machine and just installed a completely fresh version of Ubuntu 18.04. I followed the installation instructions word for word, and ros-melodic-desktop-full was successfully installed - I can create catkin workspaces and run ros projects that I've created before.

However, rviz and gazebo are failing to launch, both because of issues with libdouble-conversion.so.1. In terminal, it looks like:

$ rviz rviz: error while loading shared libraries: libdouble-conversion.so.1: cannot open shared object file: No such file or directory

$ gazebo gzclient: error while loading shared libraries: libdouble-conversion.so.1: cannot open shared object file: No such file or directory

I checked synaptic, and I can see that libdouble-conversion1 is installed and the library file is located at /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.1

I'm not sure how to check where rviz / gazebo are looking for the file or how to debug their failure to find this library, so any suggestions would be great!

edit retag flag offensive close merge delete