[squid-dev] [PATCH] MacOS MIT Kerberos requires libresolv

Kinkie gkinkie at gmail.com
Mon Jan 4 15:49:23 UTC 2016


Hi Markus,
  Uninstalling MIT kerberos, the build system correctly detects Apple
kerberos, but fails at

    ccache g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include
-I../../../lib -I../../../src -I../../../include -I/opt/local/include
-I../../../libltdl -I. -I/usr/include/libxml2  -I/opt/local/include
-I/usr/include/libxml2  -Werror -Qunused-arguments
-Wno-deprecated-register  -D_REENTRANT -I/opt/local/include
-I/opt/local/include -I/opt/local/include/p11-kit-1
-I/opt/local/include  -g -O2 -std=c++11 -MT support_log.o -MD -MP -MF
$depbase.Tpo -c -o support_log.o support_log.cc &&\
    mv -f $depbase.Tpo $depbase.Po
support_krb5.cc:296:20: error: use of undeclared identifier 'krb5_kt_free_entry'
            code = krb5_kt_free_entry(kparam.context, &entry);



On Mon, Jan 4, 2016 at 4:09 PM, Kinkie <gkinkie at gmail.com> wrote:
> On Mon, Jan 4, 2016 at 2:29 PM, Markus Moeller <huaraz at moeller.plus.com> wrote:
>> Hi Kinkie,
>>
>>   I wonder against which Kerberos library SASL is linked against.  You may
>> get strange errors if SASL which is used by ldap is linked against the
>> native Kerberos libraries.  So the kerberos_ldap_group helper may not work
>> correctly for SASL/GSSAPI based authentication to the ldap server.
>
> Hi,
>
> $ otool -L /usr/lib/libsasl2.2.dylib
> /usr/lib/libsasl2.2.dylib:
>     /usr/lib/libsasl2.2.dylib (compatibility version 3.0.0, current
> version 3.15.0)
>     /usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8,
> current version 50.0.0)
>     /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 1197.1.1)
>
> System kerberos seems to be in /usr/lib and
> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos . I
> can't find the SASL libraries; they must be embedded somewhere else :\
>
>
> --
>     Francesco



-- 
    Francesco


More information about the squid-dev mailing list