(Gentoo Linux) Possible missing dependency from libgssapi_krb5.so.2

Error log:

gentoo@gentoo-vmware ~/Desktop/anki-24.11-linux-qt6 $ anki
Anki starting...
Initial setup...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "aqt", line 62, in <module>
  File "aqt.gui_hooks", line 11, in <module>
  File "_aqt.hooks", line 18, in <module>
  File "aqt.qt", line 22, in <module>
  File "aqt.qt.qt6", line 16, in <module>
ImportError: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory

I’ve installed the following binaries (not compiled) - libxcb-xinerama0, libxcb-cursor0, and libnss3. I’ve finding the following dependency but I can’t seem to find it.

Compiling Anki isn’t an option as I don’t trust masked packages for now and very low specs to compile with. As shown from the Anki Gentoo package

In debian (oldstable) I have libgssapi-krb5-2, libkrb5-3 and libkrb5support0 installed. Maybe you’re missing your gentoo equivalents of those packages?

According to the gentoo forum you might be missing mit-krb5.

There should be a way to find missing libs anyway, e.g. on debian:

dpkg -S libgssapi_krb5.so.2

returns:

libgssapi-krb5-2:amd64: /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
libgssapi-krb5-2:amd64: /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2

That tells you to what to install:

sudo apt install libgssapi-krb5-2
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.