From 9de80e032ddc9acb5b89d74df3fbe4cd41aca20e Mon Sep 17 00:00:00 2001 From: Leo Butler Date: Thu, 23 Jul 2020 08:10:14 -0500 Subject: [PATCH] A kludge to deal with problematic library upgrades The release upgrade from 16.04 to 18.04 was not seamless. LD_LIBRARY_PATH= ld ffmpeg.git/ffmpeg ld: warning: libcdio_paranoia.so.1, needed by //usr/lib/x86_64-linux-gnu/libavdevice-ffmpeg.so.58, not found (try using -rpath or -rpath-link) ld: warning: libcdio_cdda.so.1, needed by //usr/lib/x86_64-linux-gnu/libavdevice-ffmpeg.so.58, not found (try using -rpath or -rpath-link) ld: warning: libbluray.so.1, needed by //usr/lib/x86_64-linux-gnu/libavformat-ffmpeg.so.58, not found (try using -rpath or -rpath-link) ld: warning: libx265.so.79, needed by //usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.58, not found (try using -rpath or -rpath-link) --- ffmpeg-myth.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ffmpeg-myth.sh b/ffmpeg-myth.sh index 96b3847..ac1b246 100755 --- a/ffmpeg-myth.sh +++ b/ffmpeg-myth.sh @@ -3,6 +3,8 @@ set -aex export LANG=en_US.UTF-8 export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" +# ugly kludge due to upgrade from 16.04 to 18.04 mismatch +export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/tmp/root-snap-2020-06-28-21-56-27/usr/lib/x86_64-linux-gnu unset -v LANGUAGE working_dir=${working_dir:-"/mnt/lvraid5/ffmpeg-cut-list.d"}