Actually I know what this is about:
pkg info plexmediaserver | grep required -A 5
Shared Libs required:
libidn2.so.0
libintl.so.8
pkgng would do this for you, but if you install those manually you should be able too keep it working while using the script 