Hi,

- Adding the missing shared libraries to the package into a private directory and using LD_LIBRARY_PATH is perfectly fine,
  you can create a wrapper to set up this.

- Another way would be using `patchelf` to add a RPATH to the binary, this way you wouldn't need to use LD_LIBRARY_PATH.

To make `xbps-src` ignore the unmet shared libraries you can set `allow_unknown_shlibs=1` in the template to ignore them.

Either way you'll have to add the missing shared libraries into the package.