gnome-sdk icon indicating copy to clipboard operation
gnome-sdk copied to clipboard

gnome-46-2404 in audacity throws error on startup

Open frenchwr opened this issue 8 months ago • 3 comments

Hi there, I'm not blocked by this (it doesn't impact any app functionality that I've encountered) but wanted to report it as it is currently emitted by the audacity snap in the store on startup:

$ audacity 
g_module_open() failed for /snap/audacity/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader_svg.so: /snap/audacity/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader_svg.so: undefined symbol: rsvg_handle_get_pixbuf_and_error

It looks like this is coming from the gnome-46-2404 content producer snap mounted inside the audacity snap (which it brings in via the gnome snapcraft extension).

I may take a look in the coming weeks as time allows.

Thanks!

frenchwr avatar Apr 09 '25 21:04 frenchwr

That function was included in Librsvg 2.59, but gnome-46-2404 only includes 2.58 (packaged from Noble repositories), although the SDK ships version 2.60.

nteodosio avatar Apr 25 '25 06:04 nteodosio

I was wrong. Although librsvg is included as a deb package in the snapcraft.yaml, it is also pulled from the -sdk snap, so both SDK (gnome-46-2404-sdk) and content (gnome-46-2404) have the correct version 2.60.

nteodosio avatar Apr 25 '25 12:04 nteodosio

I expect the issue to be that the audacity snap itself ships librsvg and it's older than the version provided in the gnome content snap. Libraries provided by the snap itself sort higher in LD_LIBRARY_PATH, so it's loading an older version.

aleasto avatar Apr 25 '25 20:04 aleasto