You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ docker run --rm -it osrf/ros:foxy-desktop
root@85599ff73d47:/# rviz2
rviz2: error while loading shared libraries: libconsole_bridge.so.1.0: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered:
to be able to run rviz2 (or other graphical tools) you need to give X11 access to your container, ideally using nvidia docker too to be able to leverage graphical hardware.
However the library issue you're facing seems unrelated to the graphical environment and is likely due to an rviz2 issue that has been fixed but the foxy image is not up to date (pending docker-library/official-images#8786)
If you run an apt upgrade in your container it should work:
$ docker pull osrf/ros:foxy-desktop
$ rocker --x11 osrf/ros:foxy-desktop
# rviz2
rviz2: error while loading shared libraries: libconsole_bridge.so.1.0: cannot open shared object file: No such file or directory
# ldd /opt/ros/foxy/lib/rviz2/rviz2 | grep consol
libconsole_bridge.so.1.0 => not found
libconsole_bridge.so.0.5 => /opt/ros/foxy/lib/libconsole_bridge.so.0.5 (0x00007f68c9a61000)
Seems to be something up with the image:
The text was updated successfully, but these errors were encountered: