Pigeonhole vs dovecot gssapi option

Stephan Bosch stephan at rename-it.nl
Wed Jul 13 14:43:39 UTC 2016


Op 13-7-2016 om 15:42 schreef Larry Rosenman:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211025
>
> Basically, if dovecot is built with gssapi support, we need to pick up
> .../dovecot-config's DOVECOT_LIBS in pigeonhole's link.

It does that:

https://github.com/dovecot/pigeonhole/blob/master-0.4/m4/dovecot.m4#L112
https://github.com/dovecot/pigeonhole/blob/master-0.4/configure.ac#L38

Looking at that bug report, this is what adds "-lkrb5 -lgssapi" and 
subsequently triggers this error:

/usr/bin/ld: cannot find -lkrb5

So, the problem is not that Pigeonhole is not following Dovecot's DOVECOT_LIBS definition from dovecot-config. Rather, it seems to me that dovecot-config is missing a

-L${LOCALBASE}/lib/heimdal

in $DOVECOT_LIBS, as suggested by the poster of this bug.

I am not sure why.


Regards,

Stephan.

> On Wed, Jul 13, 2016 at 1:52 AM, Stephan Bosch <stephan at rename-it.nl> wrote:
>
>> Op 7/13/2016 om 4:12 AM schreef Larry Rosenman:
>>> Stephan,
>>>       Is there a reason you don't pick up the dovecot-config file to set
>>> additional libraries like the Kerberos libs?
>>>
>>> I'm the FreeBSD Ports Maintainer for pigeonhole, and a user filed a PR
>>> about missing the krb5 libs.
>> Could you elaborate?
>>
>> Regards,
>>
>> Stephan.
>>
>
>



More information about the dovecot mailing list