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

Can't open the Rviz in the tutorial to build a visual robot model

asked 2022-06-16 16:46:40 -0600

santosxgarcia gravatar image

updated 2022-06-19 10:10:07 -0600

gvdhoorn gravatar image

Tutorial: (http://wiki.ros.org/urdf/Tutorials/Bu...)

When entering roslaunch urdf_tutorial display.launch model:=urdf/01-myfirst.urdf I get an error message:

process[rviz-4]: started with pid [292]
/opt/ros/noetic/lib/rviz/rviz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /.singularity.d/libs/libGLX.so.0)
/opt/ros/noetic/lib/rviz/rviz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /.singularity.d/libs/libGLdispatch.so.0)
================================================================================REQUIRED process [rviz-4] has died!
process has died [pid 292, exit code 1, cmd /opt/ros/noetic/lib/rviz/rviz -d /opt/ros/noetic/share/urdf_tutorial/rviz/urdf.rviz __name:=rviz __log:=/home/santos/.ros/log/330d25fc-edbc-11ec-9521-f09e4a5aec59/rviz-4.log].
log file: /home/santos/.ros/log/330d25fc-edbc-11ec-9521-f09e4a5aec59/rviz-4*.log
Initialising shutdown!
================================================================================
[rviz-4] killing on exit
[robot_state_publisher-3] killing on exit
[joint_state_publisher-2] killing on exit

I am launching this command using the command roscd urdf_tutorial before.

What can I do to solve this? Thank you.

edit retag flag offensive close merge delete

Comments

  1. Which linux distribution & version are you using?

  2. What is the output of apt search libc6$? (make sure to use the $)

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-06-19 19:28:58 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-06-19 19:35:03 -0600

longjie0723 gravatar image

updated 2022-06-20 02:58:39 -0600

ljaniec gravatar image

The error message says the RViz using GL/GLX libraries somewhere on /.singularity.d directory (used in a kind of container?) If you are using Ubuntu, usually you don't need to use the libraries other than the one system installed.

  • Check your environment variable LD_LIBRARY_PATH
  • If you set /.singularity.d/libs on it, try with removing it
  • If you really need to use this GL library, check if it works with glmark2 or some other Ubuntu packages (it is not related to ROS).
edit flag offensive delete link more

Question Tools

Stats

Asked: 2022-06-16 16:46:40 -0600

Seen: 179 times

Last updated: Jun 20 '22