Pacman/icu conflict: error while loading shared object
Hey hey, I just updated icu, which broke pacman. I then used pacman-static to install the latest pacman version, using pacman-static, but no change. icu version: 76.1-1 pacman version: 7.0.0.r6.gc685ae6-6 Error message: pacman: error while loading shared libraries: libicuuc.so.75: cannot open shared object file: No such file or directory Can anyone suggest a workaround? Best wishes, Jeanette -- * Website: http://juliencoder.de - for summer is a state of sound * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * Audiobombs: https://www.audiobombs.com/users/jeanette_c * GitHub: https://github.com/jeanette-c Just hang around and you'll see, There's nowhere I'd rather be <3 (Britney Spears)
On Mon, 2025-06-09 at 20:35 +0200, Jeanette C. wrote:
pacman: error while loading shared libraries: libicuuc.so.75
Are you sure that pacman 7.0.0.r6.gc685ae6-6 is installed? • rocketmouse@archlinux ~ $ pacman -Q pacman icu pacman 7.0.0.r6.gc685ae6-6 icu 76.1-1 • rocketmouse@archlinux ~ $ ldd /usr/bin/pacman | grep libicu libicuuc.so.76 => /usr/lib/libicuuc.so.76 (0x00007fd125800000) libicudata.so.76 => /usr/lib/libicudata.so.76 (0x00007fd123600000)
Hi, the versions are: pacman 7.0.0.r6.gc685ae6-6 icu 76.1-1 $ ldd pacman libicuuc.so.75 => not found And pacman itself still gives the same error, naturally. Other programs also complain about this libicu version. -- * Website: http://juliencoder.de - for summer is a state of sound * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * Audiobombs: https://www.audiobombs.com/users/jeanette_c * GitHub: https://github.com/jeanette-c Just hang around and you'll see, There's nowhere I'd rather be <3 (Britney Spears)
This is odd. To quote The IT Crowd: Have you tried turning it off and on again? And to check if the pacman binary is the correct one: $ md5sum /usr/bin/pacman 3772289b462d67af2ff267789e9abba1 /usr/bin/pacman Am 09.06.25 um 21:21 schrieb Jeanette C.:
Hi, the versions are: pacman 7.0.0.r6.gc685ae6-6 icu 76.1-1 $ ldd pacman libicuuc.so.75 => not found And pacman itself still gives the same error, naturally. Other programs also complain about this libicu version.
Hi Uwe, Jun 9 2025, Uwe Sauter has written: ...
And to check if the pacman binary is the correct one:
$ md5sum /usr/bin/pacman 3772289b462d67af2ff267789e9abba1 /usr/bin/pacman ... The md5sum matches yours. I updated icu this afternoon, whilst working on local AI installations using python-transformers, pytorch and tensorflow. One of the latter complained about a wrong icu version, so I just updated that package, which may have been hasty. I had to update two or three more, but no other dependency warnings came up.
pacman-static was able to update pacman itself, but when I tried a complete upgrade/updating all packages, it complained many times about dependency-breakage, as if it can't operate properly or access the required data fully. Best wishes, Jeanette -- * Website: http://juliencoder.de - for summer is a state of sound * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * Audiobombs: https://www.audiobombs.com/users/jeanette_c * GitHub: https://github.com/jeanette-c Just hang around and you'll see, There's nowhere I'd rather be <3 (Britney Spears)
Assuming that the pacman command from pacman-static is called pacman-static, what does pacman-static -Syyu print? (Never had to use pacman-static before…) Am 09.06.25 um 21:36 schrieb Jeanette C.:
Hi Uwe, Jun 9 2025, Uwe Sauter has written: ...
And to check if the pacman binary is the correct one:
$ md5sum /usr/bin/pacman 3772289b462d67af2ff267789e9abba1 /usr/bin/pacman ... The md5sum matches yours. I updated icu this afternoon, whilst working on local AI installations using python-transformers, pytorch and tensorflow. One of the latter complained about a wrong icu version, so I just updated that package, which may have been hasty. I had to update two or three more, but no other dependency warnings came up.
pacman-static was able to update pacman itself, but when I tried a complete upgrade/updating all packages, it complained many times about dependency-breakage, as if it can't operate properly or access the required data fully.
Best wishes,
Jeanette
Does running # ldconfig change something?
No, tried ldconfig, sync. Now I tried to downgrade icu using pacman-static, but that again complains about many dependencies being broken, which must be wrong, because I just installed the new ICU version today and didn't update much more. -- * Website: http://juliencoder.de - for summer is a state of sound * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * Audiobombs: https://www.audiobombs.com/users/jeanette_c * GitHub: https://github.com/jeanette-c Just hang around and you'll see, There's nowhere I'd rather be <3 (Britney Spears)
I'm not using pacman-static, but it's installed and I noticed something that does confuse me. pacman-static/pacman-static 6.0.1-2 depends on pacman pacman-static/pacman-static 6.0.1-2 [installed] Statically-compiled pacman (to fix or install systems without libc) aur/pacman-static 7.0.0.r6.gc685ae6-17 [installed: 6.0.1-2] (67) (2.17) Statically-compiled pacman (to fix or install systems without libc) • rocketmouse@archlinux ~ $ pacman -Qi pacman-static | grep On Depends On : pacman • rocketmouse@archlinux ~ $ pacman -Q pacman-static pacman pacman-static 6.0.1-2 pacman 7.0.0.r6.gc685ae6-6
Since you can't run pacman, did you verify the installed version by taking a look at the log file? • rocketmouse@archlinux ~ $ grep \ 7.0.0.r6 /var/log/pacman.log [2024-11-28T16:27:15+0100] [ALPM] upgraded pacman (7.0.0.r3.g7736133-1 -> 7.0.0.r6.gc685ae6-1) [2025-02-25T07:45:59+0100] [ALPM] upgraded pacman (7.0.0.r6.gc685ae6-1 -> 7.0.0.r6.gc685ae6-2) [2025-06-05T09:42:35+0200] [ALPM] upgraded pacman (7.0.0.r6.gc685ae6-2 -> 7.0.0.r6.gc685ae6-5) [2025-06-07T11:41:34+0200] [ALPM] upgraded pacman (7.0.0.r6.gc685ae6-5 -> 7.0.0.r6.gc685ae6-6)
On Mon, Jun 9, 2025, at 11:35 AM, Jeanette C. wrote:
Hey hey, I just updated icu, which broke pacman. I then used pacman-static to install the latest pacman version, using pacman-static, but no change. icu version: 76.1-1 pacman version: 7.0.0.r6.gc685ae6-6 Error message: pacman: error while loading shared libraries: libicuuc.so.75: cannot open shared object file: No such file or directory
Can anyone suggest a workaround?
Best wishes,
Jeanette
-- * Website: http://juliencoder.de - for summer is a state of sound * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * Audiobombs: https://www.audiobombs.com/users/jeanette_c * GitHub: https://github.com/jeanette-c
Just hang around and you'll see, There's nowhere I'd rather be <3 (Britney Spears)
Given the language you're using, "I just updated icu" and "install the latest pacman", I'm guessing that you're picking and choosing what you're updating. This would be considered a "partial upgrade" which Arch explicitly does not support <https://wiki.archlinux.org/title/System_maintenance#Partial_upgrades_are_unsupported>. Knowing that, a dependency somewhere between pacman and icu is likely out-of-date. Looking at all of the dependencies for pacman, it appears the chain between pacman and icu is: pacman -> libarchive -> libxml2 -> icu Thus, it's likely your libxml2 package is out of date, and possibly libarchive as well.
Hi Ryan, many thanks, both for bringing home the warning about partial updates. I'm not really a fiend of that, but I sometimes tend to be lazy that way. And you were absolutely right: the libxml2 libarchive chain was broken. pacman runs again and I'm upgrading. :) Best wishes, Jeanette -- * Website: http://juliencoder.de - for summer is a state of sound * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * Audiobombs: https://www.audiobombs.com/users/jeanette_c * GitHub: https://github.com/jeanette-c Just hang around and you'll see, There's nowhere I'd rather be <3 (Britney Spears)
participants (4)
-
Jeanette C.
-
Ralf Mardorf
-
Ryan Petris
-
Uwe Sauter