> open("/usr/heimdal/bin/krb5-config --libs --deps", O_RDONLY) = -1 ENOENT (No
> such file or directory)
Strange. It tries to open the file "/usr/heimdal/bin/krb5-config --libs
--deps". Normally I would
expect that krb5-config --libs --deps is something to be executed...
$ krb5-config --libs --deps
-L/usr/lib/x86_64-linux-gnu/heimdal -lkrb5 -lhx509 -lcom_err -lhcrypto -lasn1
-lwind -lheimbase -lroken -lcrypt -pthread -lpthread -ldl -lresolv -pthread
I would expect it to open krb5.conf at that place. Have you maybe set the
varible KRB5_CONFIG to "/usr/heimdal/bin/krb5-config --libs --deps" ????
Can you put a default realm in your krb5.conf and then set KRB5_CONFIG
to that file and see if that helps?
If you don't have set KRB5_CONFIG that would mean that you have a very
odd compiled in value for your kerberos config file, but I doubt that.