canonical / steam-snap

Steam as a snap
74 stars 9 forks source link

zenity non-functional: libgtk-3.so.0: cannot open shared object file: No such file or directory #378

Open smcv opened 5 months ago

smcv commented 5 months ago

Ensure there isn't an existing issue for this and check the wiki

Current Behavior

/snap/steam/191/usr/bin/zenity: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory

Expected Behavior

There's meant to be a zenity(1) progress bar while setting up Steam Runtime during first run of a new Steam version. I expected zenity and its mandatory dependencies to be provided by the Snap app. Providing zenity but not its mandatory dependencies seems like something has gone badly wrong with dependency resolution.

(This time this is not a pressure-vessel-related issue, it's the old LD_LIBRARY_PATH runtime that's involved here.)

Steps To Reproduce

Install and run Steam

Environment

Ubuntu 24.04

gaming-graphics-core22 version

kisak-fresh (default)

Anything else?

No response

ashuntu commented 5 months ago

I suspect this would have the same workaround as https://github.com/canonical/steam-snap/issues/379#issuecomment-2079506227. Though, I'm not sure if I've ever encountered the Steam dialog itself failing.

EvidentlyCube commented 4 months ago

I've had similar issue in Leaf's Odyssey, reported it in Steam: https://github.com/ValveSoftware/steam-for-linux/issues/10908 The logs also mention libgtk cannot be found.

I've tried the solution linked by @ashuntu but the game still doesn't run, nor did rebooting. The game runs with Compatibility enabled and set to Steam Linux Runtime 1.0 but that's far from a great solution.

ZoopOTheGoop commented 2 months ago

zenity seems to work now, but confirmation would be nice

smcv commented 2 months ago

zenity seems to work now, but confirmation would be nice

After what change? A new snapd version (which version?), or a new version of this app?

ashuntu commented 1 month ago

zenity seems to work now, but confirmation would be nice

After what change? A new snapd version (which version?), or a new version of this app?

I'd imagine this is in reference to updates in the Steam Snap and snapd edge. I'll leave this open for now and see the status of things once everything is in stable.