Re: make clean install issue with squid 7

Amos Jeffries <[email protected]> Sun, 20 Jul 2025 01:46:40 +1200
Newsgroups gmane.comp.web.squid.general
Message-ID <[email protected]>
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
[email protected]
https://lists.squid-cache.org/listinfo/squid-users