There’s a couple other post about the updater script here, you can search “Updater.sh and LD_LIBRARY_PATH” and you’ll sure run into those and the solutions, but the tl;dr is that you need to change this line in the rc.d script :
export LD_LIBRARY_PATH="/usr/pbi/plexmediaserver-amd64/lib/compat:${SCRIPTPATH}"
TO
export LD_LIBRARY_PATH="${SCRIPTPATH}/lib"
All libs are under the lib sub dir since the first 1.15.x and we no longer depend on compat10x.