Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] fatal error: krb5.h: No such file or directory

From: jungle boogie <jungleboogie0@xxxxxxxxx>
Date: Wed, 18 Apr 2018 22:06:16 -0700
Thus said Guy Harris on Wed, 18 Apr 2018 21:43:24 -0700
On Apr 18, 2018, at 9:35 PM, jungle boogie <jungleboogie0@xxxxxxxxx> wrote:

Thus said Guy Harris on Wed, 18 Apr 2018 21:17:03 -0700
What does
	egrep KERB config.h

$ egrep KERB config.h
/* #undef HAVE_HEIMDAL_KERBEROS */
#define HAVE_KERBEROS 1
#define HAVE_MIT_KERBEROS 1

OK, so:

	1) it thinks you have MIT Kerberos but not Heimdal Kerberos available;

Thus said Guy Harris on Wed, 18 Apr 2018 20:20:35 -0700
What does
	apt list --installed | egrep krb5

	...

krb5-multidev/xenial-updates,now 1.13.2+dfsg-5ubuntu2 amd64 [installed,automatic]

	2) you appear to have the MIT Kerberos development libraries installed:

although that's described as "Development files for MIT Kerberos without Heimdal conflict" - hopefully that doesn't mean "sorry, we can't actually give you krb5.h, as there's a conflict with Heimdal".

So:

Thus said Guy Harris on Wed, 18 Apr 2018 20:56:35 -0700

So what does
	pkg-config --list-all | egrep krb5

mit-krb5-gssapi                mit-krb5-gssapi - Kerberos implementation of the GSSAPI
mit-krb5                       mit-krb5 - An implementation of Kerberos network authentication

what does

	pig-config --cflags mit-krb5

print?

I've been assuming you mean pkg-config and not pig...

$ pkg-config --cflags mit-krb5
-isystem /usr/include/mit-krb5