ZED_SDK Installation error on Docker for Jetson Thor

Hi Team,

First of all, Thanks for the SDK 5.1. It is amazing in many ways.

I am working with ZED and Jetson Thor at the moment. I am able to install SDK 5.1 on the Host system and it work perfectly fine. But when I try to install it inside the docker container (Custom dockerfile script), it fails with the following error.

&& rm /tmp/zed_sdk_installer.zstd.run && [ -f /usr/local/bin/ZED_Sensor_Viewer ] || (echo “ZED install failed” && exit 1);:
0.390 /var/cache/downloads/zed_sdk_installer.zstd.run: OK
0.468 Verifying archive integrity… 100% MD5 checksums are OK. All good.
1.026 Uncompressing ‘ZED camera SDK by Stereolabs (Use ‘sudo apt install zstd’ if zstd is not found)’ 100%
1.684 Reading package lists…
1.704 Building dependency tree…
1.707 Reading state information…
1.710 E: Unable to locate package file
1.739 head: cannot open ‘/etc/nv_tegra_release’ for reading: No such file or directory
1.751 dpkg-query: no packages found matching nvidia-l4t-core
1.759 Unable to detect Tegra L4T version, required exact Tegra_L4T38.2
1.759 Installing…
1.761 ./linux_install_release.sh: line 549: file: command not found
1.761
1.761 This installer is not compatible with ARM processor, for the Jetson Tegra check the special installers available at stereolabs.com/developers
1.761
1.880 ZED install failed

Below is the Dockerfile snippet for this error.

I built the base image from dusty-nv container.
robot/image:r38.4.arm64-sbsa-cu130-24.04-cuda

I understand that the installer looks for l4t inside the dockerfile, but in the Jetson orin AGX or other devices, I have never faced this problem. It never checked for it strictly. Only on runtime I am able to install the SDK and not in building stage. During runtime, it mounts /etc/nv_tegra_release and I am able to install it.

Let me know if there is a fix or workaround for it.

Hi,

The plan was to release a JP7 docker image but official images (even unofficial) were not available. Good catch on this one, it seems to match.

I would advise to just create the file with the version ie: zed-docker/5.X/l4t/devel/Dockerfile at 4bd5d4b103ab7f5f8aba1515013148f90b739d9d · stereolabs/zed-docker · GitHub

echo "# R38 (release), REVISION: 2.0" > /etc/nv_tegra_release ;

For the missing package, just install file, I would use something like this:

apt-get update ; apt-get install --no-install-recommends lsb-release wget less udev zstd sudo apt-transport-https build-essential cmake file -y

Also it’s not well documented but you can pin the 5.1.0 with the URL, ie:

https://download.stereolabs.com/zedsdk/5.1.0/l4t38.2/jetsons

Every patches are supported to avoid having the latest one if you want a specific version

Hi @adujardin, thanks for this info. This solution is working.