After a pacman -Syu yesterday I have multiple applications failing on start, including the lightdm greeter. I was only seeing a blank screen after reboot.
Turns out multiple applications stopped working because they are still depending on core/icu 73 while the update bumped it to v74.
Could it be that packages in “extra” have not yet been recompiled?
lightdm-gtk-greeter
lightdm-gtk-greeter: error while loading shared libraries: libicuuc.so.73: cannot open shared object file: No such file or directory
pacman -F $(which lightdm-gtk-greeter)
/usr/bin/lightdm-gtk-greeter is owned by extra/lightdm-gtk-greeter 1:2.0.8-3
gvim
gvim: error while loading shared libraries: libicuuc.so.73: cannot open shared object file: No such file or directory
pacman -F $(which gvim)
/usr/bin/gvim is owned by extra/gvim 9.0.1506-1
pacman -Q | grep icu
icu 74.2-1
lib32-icu 74.2-1
I already tried to fix the situation but at least the following attempts did not yet help:
Either you are in a partial-upgrade state or those packages are from a third party.
If they are packages you built, such as from the AUR, then they should be rebuilt following system library updates.
I ran your command, “-Syu” claimed there was nothing to update. However,this seems weird and I do not quite know what to make of it. gvim seems to be owned by extra/gvim 9.0.1506-1 but I have the most recent version installed that you mentioned (even after the full reinstall of all packages that I did):
pacman -Q gvim
gvim 9.0.2167-1
pacman -F $(which gvim)
/usr/bin/gvim is owned by extra/gvim 9.0.1506-1
gvim
gvim: error while loading shared libraries: libicuuc.so.73: cannot open shared object file: No such file or directory
We will see when they query installed packages instead of the package database.
(which of course returns the repo packages, and the outdated versions if the db was outdated)
I always misunderstood what -F does thank you for the correction!
When I use “-Qo” it seems like I do indeed have the most recent version of gvim - and it seems to not work with libuuc.so.74 unfortunately (same for the lightdm greeter which is more of a problem right now):
$ gvim
gvim: error while loading shared libraries: libicuuc.so.73: cannot open shared object file: No such file or directory
$ pacman -Qo $(which gvim)
/usr/bin/gvim is owned by gvim 9.0.2167-1
$ lightdm-gtk-greeter
lightdm-gtk-greeter: error while loading shared libraries: libicuuc.so.73: cannot open shared object file: No such file or directory
$ pacman -Qo $(which lightdm-gtk-greeter)
/usr/bin/lightdm-gtk-greeter is owned by lightdm-gtk-greeter 1:2.0.8-3
Problem solved! I got the final hint from a post in the Arch forums - lddtree showed me that I had a dependency to an older version of libxml2 that was lying around in a “Cisco Secure Connect” folder which was included in my library path.
Thanks for your support - maybe this helps someone else with a similar problem…