I was looking to put together a compiled form of HandBrakeCLI that could be used in a cluster where CentOS7 nodes are getting spun up and destroyed as needed. I figured that the easiest thing to do would be to create a single compiled executable, and make sure that got copied to every new instance.
However, after following the compile instructions (https://handbrake.fr/docs/en/latest/dev ... entos.html), throwing the compiled form onto a new CentOS image and trying to run it, I got the error message
Code: Select all
./HandBrakeCLI: error while loading shared libraries: libass.so.5: cannot open shared object file: No such file or directory
It seems that for the CentOS 7 case, in order to run HandBrake, your machine must be equally ready to compile it from source. Is this the expected behavior?
Is there a way to build HandBrakeCLI such that I can just drop a single file, with no other dependencies, onto another machine and have it Just Work (tm)?
My confusion is perhaps arising from how I was able to do the thing that I want (drop a single executable in to a fresh install) with ffmpeg - maybe that's an exception and not a rule though.