System info:
- CachyOS x86_64, KDE Plasma 6.6.4, Wayland
- Kernel: 7.0.5-1-cachyos-bore-lto
- GPU: AMD Radeon RX 6800 XT
Problem:
After a recent system update, Chromium and all Chromium-based browsers (Google Chrome Dev, ungoogled-chromium-bin) fail to launch with the following error:
/usr/lib/chromium/chromium: error while loading shared libraries: libhogweed.so.7: cannot open shared object file: No such file or directory
Running ldd /usr/lib/chromium/chromium | grep "not found" shows:
/usr/lib/chromium/chromium: /usr/lib/libhogweed.so.7: version 'HOGWEED_7' not found (required by /usr/lib/libgnutls.so.30)
libnettle.so.9 => not found
Root cause:
The installed nettle package (3.10.2) only provides libhogweed.so.6 and libnettle.so.8, but chromium and libgnutls are built against libhogweed.so.7 and libnettle.so.9.
This occurs with both the CachyOS-packaged nettle (3.10.2-1.1, packaged by CachyOS) and the official Arch nettle (3.10.2-1, packaged by Andreas Radke).
Expected behavior:
Nettle 3.10.2 should provide libhogweed.so.7 and libnettle.so.9, or chromium should be rebuilt against the currently available library versions.
Workaround:
None found so far. Firefox works fine as a temporary alternative.
Please rebuild the chromium package against the current nettle version, or update the nettle package to provide the correct SO versions.
Just made an account to give some workaround tips. You can manually download the newer nettle and launch any application that wants it like this for now. This is how I “fixed it” on my end while keeping the older version installed for KDE(Xwayland still needs the older version for me).
- Click “Download From Mirror” on Arch Linux - nettle 4.0-1 (x86_64)
- Extract somewhere
- Launch apps like this: LD_LIBRARY_PATH=<download_path>/nettle-4.0-1-x86_64.pkg/usr/lib:$LD_LIBRARY_PATH <path_to_bin>
I’m using Arch Linux with the cachyos repositories and the Linux kernel 7.0.5-1-cachyos-bore. In my case, the reason applications stopped launching (not just Chromium) was the update core/gnutls 3.8.13-1 to 3.8.13-2. As soon as I downloaded the “gnutls-3.8.13-1-x86_64.pkg.tar.zst” version from Index of /packages/g/gnutls/ and rolled back, everything worked.
Downgrading to gnutls 3.8.13-1 fixed my problem**.** You saved my ass.
More updates have arrived that further break the system… For now, it’s best to avoid updating the following packages:
1 core/gnutls 3.8.13-1 → 3.8.13-2
2 core/nettle 3.10.2-1 → 4.0-1
3 extra/wget 1.25.0-3 → 1.25.0-4
System info:
OS: Arch Linux x86_64
Kernel: Linux 7.0.5-1-cachyos-bore
DE: Cinnamon 6.4.13
WM: Muffin (X11)
LM: lightdm 1.32.0 (X11)
CPU: AMD Ryzen 9 5900X @ 5.04 GHz (12cr/24th)
GPU: AMD Radeon RX 6900 XT 15.95 GiB @ 2.66 GHz
Memory: 2.96 GiB / 62.71 GiB (5%)
I cannot confirm that.
I updated and have no problems. However, I didn’t have any problems before the update either.
It’s not even CachyOS. I restored a backup of the system before switching to the CachyOS kernel and repositories, a pure classic Arch, updated, and the system stopped booting, with a black screen.
wget 1.25.0-4 requires nettle 4.0-1, and after that, LightDM breaks.
Did you perform a partial update, or do you have the [testing] repositories enabled?
Does that mean you cannot switch to a TTY?
If we are talking about pure Arch, then the only repositories there are:
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
I always do a full update.
Where is the hybrid of Arch and CachyOS:
[cachyos-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos-core-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos-extra-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
I also do full updates.
TTY works, it is through it that I detect the packets that led to the failure and restore the system.
Let’s recap: no testing repositories, no partial upgrades.
The only other thing that comes to mind—which, as a dedicated Arch user, you have surely already done—is to update the package databases.
Unfortunately, as a relatively inexperienced Arch user myself, that is all I can think of.
A few minutes ago, the following updates arrived:
1 cachyos-core-v3/gnutls 3.8.13-1 → 3.8.13-2.1
2 cachyos-core-v3/nettle 3.10.2-1 → 4.0-1.1
3 cachyos-extra-v3/wget 1.25.0-3 → 1.25.0-4.1
from the cachyos repositories, and everything broke. I had to roll back these three packages as well.
sudo pacman -Syyu
3 cachyos-core-v3/gnutls 3.8.13-1 → 3.8.13-2.1
2 cachyos-core-v3/nettle 3.10.2-1 → 4.0-1.1
1 cachyos-extra-v3/wget 1.25.0-3 → 1.25.0-4.1
That’s all I have that isn’t updated at the moment. Naturally, if update these packages, the system will break.
As I understand it, outdated packages lead to a partial upgrade, but I could be wrong. Perhaps there’s a third opinion on this matter.
I don’t understand what partial update you’re talking about. I update all the packages, but today I had to repeatedly roll back these 3 because they were breaking the system.
At the moment everything works, without these 3 packages that I added to the blocklist.
Therefore, no further action is required and the matter is settled 
Well… Someone else might update these packages, and their system might break too. And I can’t just keep them on the block list forever. For now, this workaround works.
Found the cause of the black screen. After a full update, especially:
gnutls 3.8.13-1 → 3.8.13-2.1
nettle 3.10.2-1 → 4.0-1.1
If you’re using:
aur/xorg-server-bug865
aur/xorg-server-bug865-issue1578
aur/xorg-xwayland-bug865-issue1578
you need to rebuild these packages before rebooting, for example: yay -S xorg-server-bug865