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: Mon, 23 Apr 2018 07:39:53 -0700
Hi Guy,

On 21 April 2018 at 20:07, Guy Harris <guy@xxxxxxxxxxxx> wrote:
> On Apr 20, 2018, at 1:58 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
>
>> Or add <XPREFIX>_CFLAGS_OTHER, in addition to using <XPREFIX>_INCLUDE_DIRS, which might be a bit safer (and simpler).
>
> I've checked in changes that do that *and* that search for the Kerberos libraries in the directories that pkg-config says to look for them in, which turns out also to have been necessary.  (I removed the libkrb5-dev package from the Ubuntu 16.04 VM, and was able to reproduce your problem, so I could test the fix; the fix for the krb5.h header wasn't sufficient, so I had to fix the library search as well.)


I'm glad you were able to reproduce this issue, which led to you
implementing a fix. Wireshark did successfully build for me!
Thank you for your efforts put in to resolve this library location issue.