[squid-users] make clean install issue with squid 7

Amos Jeffries squid3 at treenet.co.nz
Sat Jul 19 13:46:40 UTC 2025


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



More information about the squid-users mailing list