Failed to load module: /root/snap/myapp/common/.cache/gio-modules/libgiolibproxy.so


base: core24

My snap builds fine, but when I run

sudo snap run --shell "mySnap"

I get this message


Failed to load module: /root/snap/"mySnapName"/common/.cache/gio-modules/libgiolibproxy.so

I do have

    stage-packages:
      - glib-networking

(glib-networking contains libgiolibproxy.so)

How do I solve that ?

I get the same problem, I don’t know what causes it either. If you’ve solved it, please post the answer here. Otherwise, my app works, so I’m going to ignore it and hope for the best.