Can't launch the snap error while loading shared libraries: libpulsecommon-13.99.so: cannot open shared object file

I had the same libpulsecommon error when using core20 with my snap, and I solved it with:

apps:
  <app name>:
    environment:
      LD_LIBRARY_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio
2 Likes