How best to link to SDL2

Thanks, That helps, although it now hangs needing other libs: i965_dri.so , then trying swrast_dri.so and failing again, then hanging.

I guess my main concern here is why is this snap working on one machine and failing on another?

I’ve tried to find any obvious difference and their systems seem identical in terms of versions of snapd and the snaps installed.