The complete message is:
g_module_open() failed for /snap/zaproxy/43/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so: /snap/zaproxy/43/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so: undefined symbol: g_once_init_enter_pointer
Copilot said "It looks like this error is related to missing or incompatible GDK Pixbuf loaders in your Snap installation of ZAP Proxy." and gave me many ways to correct this.
I tried defining GDK_PIXBUF_MODULE_FILE but I kept getting this error:
sudo: gdk-pixbuf-query-loaders: command not found
so I could not fix the cache as Copilot had recommended. Parenthetically, it also tells me it can't find Java 17 even though I have set JAVA_HOME.