KeePassXC not working after recent update

KeePassXC gives me error “keepassxc: error while loading shared libraries: libbotan-3.so.11: cannot open shared object file: No such file or directory“.

When searching repository, I found out that cachyos has older version than extra:

extra/botan 3.11.0-1 [installed: 3.10.0-2.1]
    Crypto library written in C++
cachyos-extra-v3/botan 3.10.0-2.1 [installed]
    Crypto library written in C++

Could you, please, update cachyos repo?

Thanks

Ahhhh that explains the issue I was having. I ended up doing this for now:

pacman -U /var/cache/pacman/pkg/keepassxc-2.7.12-1-x86_64.pkg.tar.zst

why is this topic is in feedback category, not in issues?

I nearly created a new topic for that.

In meantime I started to use official appimage from Download – KeePassXC

Cannot reproduce on a system I just upgraded a minute ago. Some info:

pacman -Q keepassxc 
keepassxc 2.7.12-2.1

pacman -Qi botan
Installed From  : cachyos-extra-znver4
Name            : botan
Version         : 3.11.0-1.1

Maybe try a pacman -Syu again today.

Earlier today only znver4 and extra were updated.

As of writing all are up to date.

https://packages.cachyos.org/?search=botan

Apologies, the update has been pushed to v3/v4 You should recieve the updated botan 3.11

For future reference if there is a soname difference with this again you can install direct from arch’s extra until cachyos mirrors sync and have updated the optimized botan package.

sudo pacman -S extra/botan

I have updated my CachyOS and everything works now. Thank you very much for quick fix. :+1:

Hey all, I also got this error since today:

keepassxc: error while loading shared libraries: libbotan-3.so.11: cannot open shared object file: No such file or directory

So what should I do?

Simple : you have to install the libbotan-3.so.11 file.

What distribution are you using? And what version of the OS?

    :++===++==================-       :++-           OS: CachyOS x86_64
    :*++====+++++=============-        .==:           Host: B650E AORUS ELITE X AX ICE (Default string-WCP)
   -*+++=====+***++==========:                        Kernel: Linux 7.0.5-1-cachyos
  =*++++========------------:                         Uptime: 46 mins
 =*+++++=====-                     ...                Packages: 7 (flatpak), 1471 (pacman)

.+*+++++=-===: .=+++=: Shell: fish 4.7.1
:++++=====-==: -***+ Display (AW2725D): 2560x1440 @ 1.25x in 27", 280 Hz [External, HDR]
:++========-=. .=+
+. DE: KDE Plasma 6.6.4

OK.

To find the file : sudo pkgfile libbotan-3.so.11 (if not found pkgfile : sudo pacman -S pkgfile && sudo pkgfile update)

To install the package containing the file : sudo pacman -S botan

Disagree.

pkgfile is kinda junk.

And very not needed.

First because this is not the proper way to manage this situation.

But even if we wanted to look for a particular file we need no extra utility, ex;

sudo pacman -Fyx 'libbotan-3.so'

But again it must be stressed that this likely indicates something else .. like how your packages are not synced and/or you are using a foreign keepassxc package and should rebuild it, etc.

Because there is no libbotan-3.so.11 in the repos.

There is a libbotan-3.so.12 provided by botan though.

And as this is a complaint about missing the now deprecated previous version of the library .. its likely they already have the botan package. But that somehow this user has a foreign keepass package that they should rebuild or are otherwise in partial-upgrade scenario.

Wow, you’re a brilliant diplomat!!
There are several ways to explain his method.

Show me how pkgfile is not junk?

Taken from the definition;

pkgfile provides no additional value, especially in the context of a simple file search. It is “fit to be discarded” and “meaningless”.

No matter how you do the file search .. its likely not pertinent to this issue anyways because


But yours requires installing an additional package for no reason and misses the core of the issue besides.

In my case, I am only using the keepassxc version and most of the other stuff like botan from the official CachyOS repo.

Its rolling updates led to it being defective for the last two days, but today there was an update to
keepassxc 2.7.12-3.1
(while botan was on 3.12.0-1.1)
and that seems to fix my problem. Thanks for the hint, guys.