RViz fails in fresh melodic install: libdouble-conversion not found
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!
Hello! I don't have an explanation as to why you are having this error. But I would suggest you attempt reinstalling the relevant package. This has resolved the same error I have had in the past.
sudo apt-get install --reinstall libdouble-conversion1