Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Waybar breaking due to incompatibility with libspdlog (Read 825 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Waybar breaking due to incompatibility with libspdlog

The current version of spdlog, libspdlog.so=1.15-64 is incompatible with the current version of waybar, or with how waybar was compiled.
When I run a newly installed waybar from the extra repos I get the following:
Code: [Select]
waybar: error while loading shared libraries: libspdlog.so.1.14: cannot open shared object file: No such file or directory

Re: Waybar breaking due to incompatibility with libspdlog

Reply #1
On an updated system with spdlog and waybar installed the latter starts without error.
Waybar should be installed from the Artix world repository, not from Arch's extra.

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons

Re: Waybar breaking due to incompatibility with libspdlog

Reply #2
I seem to have misspoken, I actually installed both from the world repo, now I've deleted both packages and reinstalled them from world/ explicitly, just to make sure, and the issue still persists.

Re: Waybar breaking due to incompatibility with libspdlog

Reply #3
What is the output of:
- pacman -Q waybar
- ls -l /usr/bin/waybar
- ldd /usr/bin/waybar | grep libspd

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons

Re: Waybar breaking due to incompatibility with libspdlog

Reply #4
Thank you, that helped me solve it:
the outputs were:
waybar 0.11.0-4
-rwxr-xr-x 1 root root 1970872 Nov 13 00:54 /usr/bin/waybar
   libspdlog.so.1.15 => /usr/lib/libspdlog.so.1.15 (0x00007dfff3c9e000)

Since it's seeking precisely the library it has, I realized I had an old executable left in /usr/local/bin/waybar. Deleted that and everything works now.

Re: Waybar breaking due to incompatibility with libspdlog

Reply #5
Thx for the feedback.

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons