<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><p data-start="0" data-end="145">I think we found the problem — the existing ports made <code data-start="34" data-end="51">heimdal-krb5.pc</code> file has <strong data-start="61" data-end="90">typos and incorrect paths</strong>, which is why <code data-start="105" data-end="117">pkg-config</code> might have issues not working. For example:</p><ul data-start="147" data-end="392"><li data-start="147" data-end="203"><p data-start="149" data-end="203"><code data-start="149" data-end="180">libdir=/usr/local/lib/heindal</code> (should be <code data-start="192" data-end="201">heimdal</code>).</p></li><li data-start="204" data-end="268"><p data-start="206" data-end="268"><code data-start="206" data-end="245">includedir=/usr/local/include/heindal</code> (should be <code data-start="257" data-end="266">heimdal</code>).</p></li><li data-start="269" data-end="332"><p data-start="271" data-end="332"><code data-start="271" data-end="297">Libs: -L$ilibdirt -1krb5</code> (typos in <code data-start="308" data-end="317">$libdir</code> and <code data-start="322" data-end="330">-lkrb5</code>).</p></li><li data-start="333" data-end="392"><p data-start="335" data-end="392">Extra <code data-start="341" data-end="345">-I</code> flags like <code data-start="357" data-end="368">-Icom_err</code> which don’t make sense.</p></li></ul><p data-start="394" data-end="414"><br></p><div><blockquote type="cite"><div>On Jul 19, 2025, at 06:46, Amos Jeffries <squid3@treenet.co.nz> wrote:</div><br class="Apple-interchange-newline"><div><div>On 19/07/25 18:21, Jonathan Lee wrote:<br><blockquote type="cite"> I reached the |configure| phase but now *configure bombs out on<br> Heimdal (Kerberos) detection*:<br> vbnet<br> |configure: error: Required library 'heimdal-krb5' not found |<br> *<br> I installed |heimdal| and verified:<br> Headers in |/usr/local/include/heimdal/krb5.h|<br> Libraries in |/usr/local/lib/heimdal/libkrb5.so|<br></blockquote><br>Squid now requires pkg-config for autodetection of a lot of libraries.<br><br>Does your version of Heimdal provide a *.pc file for pkg-config?<br><br>If it does you may need to use something like:<br><br> ./configure PKG_CONFIG_PATH=/usr/local/heimdal/krb5.pc<br><br>OR,<br><br> ./configure --with-heimdal-krb5=/usr/local<br><br> This is the intended way going forward.<br> But still experimental and YMMV.<br><br>OR,<br><br> ./configure \<br> CXXFLAGS="-I/usr/local/include" \<br> LDFLAGS="-L/usr/local/lib"<br><br>OR,<br><br> maybe reduce the ./configure settings to avoid the components that make it a requirement (eg the kerberos helpers).<br><br><br>Cheers<br>Amos<br><br>_______________________________________________<br>squid-users mailing list<br>squid-users@lists.squid-cache.org<br>https://lists.squid-cache.org/listinfo/squid-users<br></div></div></blockquote></div><br></body></html>