If you do pkg install -r FreeBSD-ports py311-kerberos python3 -c "import kerberos; print('kerberos ist installiert')" You get Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: /usr/local/lib/python3.11/site-packages/kerberos.cpython-311.so: Undefined symbol "krb5_xfree" Previously, you need to install krb5 Port as well pkg install krb5 But this doesn't work anymore, probably because of replacing Heimdahl with MIT kerberos in base. In the end, this makes e.g. winrm for Ansible unusable.
Cy, I bet this is again a missing symbol. I am genuinly confused why you have chosen to use a non-MIT KErberos symbol map in base. This isn't real MIT Kerberos.
(In reply to Michael Osipov from comment #1) You are right, this is really confusing. Actually, building the port with GSSAPI_MIT set works fine.