Error with Docker image nvcr.io/nvidia/deepstream-l4t:6.2-samples when install build-essential

Jetson Xavier NX
Jetpack 5.1.1

I run Docker container with command
xhost +
docker run -it --rm --net=host --runtime nvidia -v /home/jetson/losslessAI_OB/DeepStream-Yolo:/opt/nvidia/deepstream/deepstream-6.2/sources/DeepStream-Yolo -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-6.2 -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/deepstream-l4t:6.2-samples

And in container, I run the command to install g++
apt-get install build-essential

And I got error as follow

Processing triggers for libc-bin (2.31-0ubuntu9.9) …

/sbin/ldconfig.real: /usr/local/cuda/targets/aarch64-linux/lib/libnpps.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/local/cuda/targets/aarch64-linux/lib/libnpps.so.11.4.0.287 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/local/cuda/targets/aarch64-linux/lib/libnpps.so.11 is not an ELF file - it has the wrong magic bytes at the start.

Moreover I try run commands in container
apt-get update
apt-get install build-essential
And the error is same.

what I need to do?

1 Like

Could you try to use the nvcr.io/nvidia/deepstream-l4t:6.2-triton container if you want to develop your own demo code? The sample container is ideal to understand and explore the DeepStream SDK using the provided samples.

Thanks a lot.
I have not yet tried with image nvcr.io/nvidia/deepstream-l4t:6.2-triton, but I installed Deepstream6.2 on the host. In the host g++ is available, so it is a workaround for my project.

Yes, installing DeepStream on Xavier NX is more straightforward for development and debugging.

1 Like