ImportError: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/lib/aarch64-linux-gnu/libgstreamer-1.0.so.0)

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
Jetson Orin
• DeepStream Version
6.2
• JetPack Version (valid for Jetson only)
5.0.2
• TensorRT Version
8.4.1-1+cuda11.4

I am having the exact same issue as in:

I am following the course: Building Video AI Applications at the Edge on Jetson Nano and when running the cell

# Check usage of the test1 app with the help option
!cd $PYTHON_APPS/deepstream-test1-rtsp-out \
    && python3 deepstream_test1_rtsp_out.py --help

I get the following error:

Traceback (most recent call last):
  File "deepstream_test1_rtsp_out.py", line 31, in <module>
    import pyds
ImportError: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/lib/aarch64-linux-gnu/libgstreamer-1.0.so.0)

I used the following command to start the docker:

sudo docker run --runtime nvidia -it --rm --network host \
     -v /tmp/.X11-unix/:/tmp/.X11-unix \
     -v /tmp/argus_socket:/tmp/argus_socket \
     -v ~/my_apps:/dli/task/my_apps \
     --device /dev/video0 \
     nvcr.io/nvidia/dli/dli-nano-deepstream:v2.0.0-DS6.0.1

Edit:
I tried running the sample code locally in my jetson and I get the following error:

Traceback (most recent call last):
  File "deepstream_test1_rtsp_out.py", line 26, in <module>
    gi.require_version('GstRtspServer', '1.0')
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace GstRtspServer not available

Edit2:
Running:

sudo apt install gir1.2-gst-rtsp-server-1.0

Fixed the error above

  1. can you run deepstream_test1_rtsp_out.py directly on device?
  2. did you succeed to build pdys bindings according to deepstream_python_apps/bindings at master · NVIDIA-AI-IOT/deepstream_python_apps · GitHub?
1 Like
  1. I can run deepstream_test1_rtsp_out.py on the device successfully.

  2. Do I need to build pdys bindings if I’m using the docker container?

yes, you need to build pdys bindings

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.