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)
This commit is contained in:
Leo Butler 2020-07-23 08:10:14 -05:00 committed by Leo Butler
parent 306bd7c0ce
commit 9de80e032d

View File

@ -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"}