❯ snap run code --verbose
Gtk-Message: 19:37:28.004: Failed to load module "canberra-gtk-module"
Gtk-Message: 19:37:28.005: Failed to load module "appmenu-gtk-module"
/var/lib/snapd/snap/code/35/usr/share/code/../../lib/x86_64-linux-gnu/libgnutls.so.30: version `GNUTLS_3_6_3' not found (required by /usr/lib/gio/modules/libgiognutls.so)
Failed to load module: /usr/lib/gio/modules/libgiognutls.so
/usr/lib/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiognomeproxy.so
/usr/lib/gio/modules/libgioremote-volume-monitor.so: undefined symbol: g_mount_operation_get_is_tcrypt_system_volume
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /usr/lib/libcrypto.so.1.1)
Failed to load module: /usr/lib/gio/modules/libgioopenssl.so
/usr/lib/gio/modules/libgiolibproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiolibproxy.so
Gtk-Message: 19:37:28.119: Failed to load module "appmenu-gtk-module"
System Details:-
OS: Manjaro Linux x86_64 20.0.3 Lysia
Host: Aspire ES1-571 V1.06
Kernel: 5.4.44-1-MANJARO
Have you tried the Manjaro forums? Since VSCode is a classicSnap, this doesn’t really have anything to do with Snap since VSCode is trying to find a system library Actually, this is a bug with out the Snap is packaged; Classic Snaps should not be relying on the system having the libs they need.
well, even classic snaps should be self contained like any other snap, so they should ship everythig they need to run inside the snap, this is clearly a packaging bug in vscode … classic doesnt mean “use random UI libs” since you will not know what API/ABI versions of these libs the distro has …
no, it is not solved … a snap must run on all distros without requiring any distro package to run …
this is completely broken packaging and if you check the issue you linked it is just full of people using the same workaround of installing a few distro packages …