Error while loading shared libraries: libnvdla_compiler.so

Are there any benefits of installing it the way you do over the sample l4t dockerfile?
I am trying to create a deployment runtime docker image as small as possible so I dont need the dev packages, but if your image ends up considerably smaller that would be nice. With only cuda-toolkit and libnvinfer8 my image gets to ~10GB. I’m a little unsure whether TensorRT requires cudnn8 for infering or not, haven’t tested yet.

I also had some issues with non-l4t-base docker images, specifically with Gstreamer. I tried installing Gstreamer in a docker container on both a l4t-jetpack image and a l4t-base image. On the l4t-jetpack image I get a bunch of warnings, which makes me think that it wasn’t installed correctly (maybe because of some l4t dependencies?). But on the l4t-base image it works without any warnings, and I installed it the same way on both docker files (just different base images). Is it correct that the l4t-jetpack image is not using the l4t-base image (but maybe just ubuntu22.04)? I see that on l4t-jetpack none of the nvidia-cuda/opencv packages are available, and no nvidia-l4t-* packages are installed.

Here are the gstreamer warnings from the l4t-jetpack image. I still get images from the gstreamer camera though, despite the warnings…

(gst-plugin-scanner:97): GStreamer-WARNING **: 14:32:33.312: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnveglstreamsrc.so': libnvbufsurface.so.1.0.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:97): GStreamer-WARNING **: 14:32:33.313: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvvideo4linux2.so': libnvbufsurface.so.1.0.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:97): GStreamer-WARNING **: 14:32:33.314: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvvidconv.so': libnvbufsurface.so.1.0.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:97): GStreamer-WARNING **: 14:32:33.318: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvv4l2camerasrc.so': libnvbufsurface.so.1.0.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:97): GStreamer-WARNING **: 14:32:33.321: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so': libnvargus_socketclient.so: cannot open shared object file: No such file or directory

(gst-plugin-scanner:97): GStreamer-WARNING **: 14:32:33.322: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvvideosinks.so': libnvbufsurface.so.1.0.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:97): GStreamer-WARNING **: 14:32:33.323: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvivafilter.so': libnvbufsurftransform.so.1.0.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:97): GStreamer-WARNING **: 14:32:33.324: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvjpeg.so': libnvjpeg.so: cannot open shared object file: No such file or directory

(gst-plugin-scanner:97): GStreamer-WARNING **: 14:32:33.324: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvcompositor.so': libnvbufsurface.so.1.0.0: cannot open shared object file: No such file or directory

and this:

$ gst-inspect-1.0 --version
No EGL Display
nvbufsurftransform: Could not get EGL display connection
(Argus) Error FileOperationFailed: Connecting to nvargus-daemon failed: No such file or directory (in src/rpc/socket/client/SocketClientDispatch.cpp, function openSocketConnection(), line 204)
(Argus) Error FileOperationFailed: Cannot create camera provider (in src/rpc/socket/client/SocketClientDispatch.cpp, function createCameraProvider(), line 106)