Bug 2282501

Summary: gtk4-layer-shell fails to load libwayland-client library
Product: [Fedora] Fedora Reporter: Jakob Probst <bugzilla.redhat>
Component: gtk4-layer-shellAssignee: Artem <ego.cordatus>
Status: CLOSED ERRATA QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 40CC: ego.cordatus
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gtk4-layer-shell-1.0.3-1.fc40 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-13 02:01:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jakob Probst 2024-05-22 13:16:38 UTC
The current implementation of gtk4-layer-shell dynamically loads the libwayaland-client library but only looks for `libwayland-client.so`. Since this library is only supplied by `wayland-devel` but not `libwayland-client` gtk4-layer-shell refuses to start without the development package. I've already created an [issue upstream](https://github.com/wmww/gtk4-layer-shell/issues/39) so this bug report is only for tracking upstream and releasing a new version as soon as the bug has been fixed upstream.

P.S.: Is it correct, that there is only a `BuildRequires` of the `wayland-client` (and other libraries) but no `Requires`?

Reproducible: Always

Steps to Reproduce:
1. Write a simple application using the library
2. Try to run the application
Actual Results:  
ERROR **: 12:51:30.979: failed to dlopen libwayland

Expected Results:  
The library has been found.

Comment 1 Jakob Probst 2024-09-24 12:27:07 UTC
The problem should be fixed with [version 1.0.3](https://github.com/wmww/gtk4-layer-shell/releases/tag/v1.0.3).

Comment 2 Fedora Update System 2025-02-04 20:30:44 UTC
FEDORA-2025-98ba4de165 (gtk4-layer-shell-1.0.3-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-98ba4de165

Comment 3 Fedora Update System 2025-02-05 01:24:00 UTC
FEDORA-2025-98ba4de165 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-98ba4de165`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-98ba4de165

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2025-02-13 02:01:13 UTC
FEDORA-2025-98ba4de165 (gtk4-layer-shell-1.0.3-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.