[squid-users] make clean install issue with squid 7
Jonathan Lee
jonathanlee571 at gmail.com
Sat Jul 19 15:37:07 UTC 2025
I think we found the problem — the existing ports made heimdal-krb5.pc file has typos and incorrect paths, which is why pkg-config might have issues not working. For example:
libdir=/usr/local/lib/heindal (should be heimdal).
includedir=/usr/local/include/heindal (should be heimdal).
Libs: -L$ilibdirt -1krb5 (typos in $libdir and -lkrb5).
Extra -I flags like -Icom_err which don’t make sense.
> On Jul 19, 2025, at 06:46, Amos Jeffries <squid3 at treenet.co.nz> wrote:
>
> On 19/07/25 18:21, Jonathan Lee wrote:
>> I reached the |configure| phase but now *configure bombs out on
>> Heimdal (Kerberos) detection*:
>> vbnet
>> |configure: error: Required library 'heimdal-krb5' not found |
>> *
>> I installed |heimdal| and verified:
>> Headers in |/usr/local/include/heimdal/krb5.h|
>> Libraries in |/usr/local/lib/heimdal/libkrb5.so|
>
> Squid now requires pkg-config for autodetection of a lot of libraries.
>
> Does your version of Heimdal provide a *.pc file for pkg-config?
>
> If it does you may need to use something like:
>
> ./configure PKG_CONFIG_PATH=/usr/local/heimdal/krb5.pc
>
> OR,
>
> ./configure --with-heimdal-krb5=/usr/local
>
> This is the intended way going forward.
> But still experimental and YMMV.
>
> OR,
>
> ./configure \
> CXXFLAGS="-I/usr/local/include" \
> LDFLAGS="-L/usr/local/lib"
>
> OR,
>
> maybe reduce the ./configure settings to avoid the components that make it a requirement (eg the kerberos helpers).
>
>
> Cheers
> Amos
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> https://lists.squid-cache.org/listinfo/squid-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20250719/22484c8b/attachment.htm>
More information about the squid-users
mailing list