Skip to content

fix nix build "libxkbcommon-x11.so could not be loaded."#174

Merged
Toqozz merged 1 commit into
Toqozz:masterfrom
leana8959:fix-LD_LIBRARY_PATH
Apr 20, 2026
Merged

fix nix build "libxkbcommon-x11.so could not be loaded."#174
Toqozz merged 1 commit into
Toqozz:masterfrom
leana8959:fix-LD_LIBRARY_PATH

Conversation

@leana8959

Copy link
Copy Markdown
Contributor

Currently running wired would cause this error:

A wired socket exists; taking ownership.
Notification bus name acquired.

thread 'main' panicked at /build/cargo-vendor-dir/xkbcommon-dl-0.4.2/src/x11.rs:59:28:
Library libxkbcommon-x11.so could not be loaded.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This PR fixes it.

Note: I don't understand why this issue is only showing up right now. Maybe the binary was able to find the .so somewhere else, and that path is no longer available.

@leana8959 leana8959 marked this pull request as ready for review April 19, 2026 13:39
@leana8959 leana8959 marked this pull request as draft April 19, 2026 13:41
@leana8959 leana8959 force-pushed the fix-LD_LIBRARY_PATH branch from 6ca7824 to e9bcf78 Compare April 19, 2026 13:48
@leana8959 leana8959 marked this pull request as ready for review April 19, 2026 13:53
@leana8959 leana8959 force-pushed the fix-LD_LIBRARY_PATH branch from e9bcf78 to bfae740 Compare April 19, 2026 14:14
@Toqozz Toqozz merged commit cd67d01 into Toqozz:master Apr 20, 2026
3 checks passed
@Toqozz

Toqozz commented Apr 20, 2026

Copy link
Copy Markdown
Owner

Awesome, thank you. I'm not sure why that would have started happening which seems suspicious, but that dependency makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants