How to execute a binary file inside a snap

Are these libraries part of your project and in your release directory? Or are they in the Ubuntu repositories? The stage-packages keyword is fetches libraries with apt.

If everything (binary and libraries) is inside release/, then you don’t need the stage-packages keyword at all. The dump plugin copies the contents of release/ into the snap package.