Maybe after PR #16712 , ffmpeg build with JP6 seem broken with error `/usr/lib/ffmpeg/jetson/bin/ffmpeg: error while loading shared libraries: libavdevice.so.60: cannot open shared object file: No such file or directory`

This PR fixes the issue
This commit is contained in:
Hieu LE 2025-02-27 14:47:19 +07:00 committed by GitHub
parent 4f855f82ea
commit 8d9cb8b0c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -97,3 +97,6 @@ COPY --from=rootfs / /
# Fixes "Error importing detector runtime: /usr/lib/aarch64-linux-gnu/libstdc++.so.6: cannot allocate memory in static TLS block"
ENV LD_PRELOAD /usr/lib/aarch64-linux-gnu/libstdc++.so.6
# Fixes "Error loading shared libs"
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/ffmpeg/jetson/lib/