Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libfmt.so.10.0.0 don't fit waybar: error while loading shared libraries: libfmt.so.9: cannot open shared object file: No such file or directory #2353

Open
baozitao opened this issue Jul 29, 2023 · 9 comments

Comments

@baozitao
Copy link

waybar: error while loading shared libraries: libfmt.so.9: cannot open shared object file: No such file or directory

becouse of
find /usr/lib/ -name 'libfmt.so*'
/usr/lib/libfmt.so.10
/usr/lib/libfmt.so.10.0.0
/usr/lib/libfmt.so

new libfmt update version

@elotulapka
Copy link

elotulapka commented Jul 29, 2023

after downgrading spdlog to 1.11.0-2 and fmt to 9.1.0-4 i've managed to launch waybar. it is a temporary solution

@bakicelebi
Copy link

Same issue

@KyrillGobber
Copy link

after downgrading spdlog to 1.11.0-2 and fmt to 9.1.0-4 i've managed to launch waybar. it is a temporary solution

Just did this as well. If anyone else doesn't know how:
sudo pacman -U /var/cache/pacman/pkg/spdlog-1.11.0-2-x86_64.pkg.tar.zst /var/cache/pacman/pkg/fmt-9.1.0-4-x86_64.pkg.tar.zst

But really, this is just a temporary fix

@manfred3000
Copy link

manfred3000 commented Jul 29, 2023

In case you're running Arch Linux and don't have waybar installed from the official repo, you're technically partially upgraded - which is an unsupported state. You'll either have to rebuild your aur (-git) waybar package against fmt 10, or issue pacman -Syu waybar in order to get things sorted and working the way it's supposed to (no need to downgrade anything. Also see already closed issues) ...

@baozitao
Copy link
Author

recommend method is sudo pacman ?

@carlos-spicy-wiener
Copy link

carlos-spicy-wiener commented Jul 30, 2023

Made an account just for this, manfred3000 is right, I fixed it on hyprland with the command yay --rebuild waybar-hyprland-git, not sure how it's done with just pacman.

@manfred3000
Copy link

manfred3000 commented Jul 30, 2023

recommend method is sudo pacman ?

The recommended way is to not use any pacman wrappers, since they will keep breaking things...
(Personally, I'm using opendoas for privilege elevation)

@joan31
Copy link

joan31 commented Jul 31, 2023

Same problem here.
For now the only way it is to downgrade fmt and spdlog packages :

sudo pacman -U /var/cache/pacman/pkg/spdlog-1.11.0-2-x86_64.pkg.tar.zst /var/cache/pacman/pkg/fmt-9.1.0-4-x86_64.pkg.tar.zst

@carlos-spicy-wiener
Copy link

carlos-spicy-wiener commented Aug 3, 2023

Same problem here. For now the only way it is to downgrade fmt and spdlog packages :

sudo pacman -U /var/cache/pacman/pkg/spdlog-1.11.0-2-x86_64.pkg.tar.zst /var/cache/pacman/pkg/fmt-9.1.0-4-x86_64.pkg.tar.zst

Or rebuild with fmt10. I never downgraded anything and after running yay --rebuild waybar-hyprland-git it works as usual and should be rebuilt with each update. See manfred3000's comment above.

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

No branches or pull requests

7 participants