My question is how best to troubleshoot this, and of course how to fix it.
The library libpulsecommon-16.1.so exists in the created snap. When I usquash it is here: \wsl.localhost\Ubuntu\home\adsiltia\space-nerds-in-space\squashfs-root\usr\lib\x86_64-linux-gnu\pulseaudio
When I: snap run snis I get: /snap/snis/x1/bin/snis_client: error while loading shared libraries: libpulsecommon-16.1.so: cannot open shared object file: No such file or directory
It was created with command line: sudo snap install --dangerous --devmode snis_1.0.8_amd64.snap
And yaml:
name: snis base: core24 version: 1.0.8 summary: Space bridge simulator description: | Space bridge simulator
grade: devel confinement: devmode
parts: snis: source: GitHub - smcameron/space-nerds-in-space: Multi-player spaceship bridge simulator game. Captain your starship through adventures with your friends. See https://smcameron.github.io/space-nerds-in-space plugin: make make-parameters: - PREFIX= #must clear default . in makefile or will mangle command path - DOWNLOAD_OPUS=no #- WITHVOICECHAT=yes # override-build: | # make WITHVOICECHAT=yes #DOWNLOAD_OPUS=yes stage-packages: - pkg-config - portaudio19-dev - pulseaudio - libvorbis-dev - libsdl2-dev - libsdl2-2.0-0 - liblua5.2-dev # .3 fails? - libglew-dev - libttspico-utils - libssl-dev - libcrypt-dev - libcurl4-gnutls-dev - libopus0 - libopus-dev - libubsan1 - libpulse-dev - libpulse0 build-packages: - libpng-dev
apps: snis: command: bin/snis_client plugs: - system-observe