<div dir="ltr">Hello, Amos, <div><br></div><div>Thank you for the help.</div><div><br></div><div>> This build option should work for your older OpenLDAP install:</div>><br> >  ./configure --with-ldap=/usr<div><br></div><div>Unfortunately, the trick with the option --with-ldap=/usr <span class="gmail-aNeGP0gI0B9AV8JaHPyH" style="white-space-collapse: preserve;">doesn</span><span style="white-space-collapse: preserve;">'t </span><span class="gmail-aNeGP0gI0B9AV8JaHPyH" style="white-space-collapse: preserve;">seem</span><span style="white-space-collapse: preserve;"> to be </span><span class="gmail-aNeGP0gI0B9AV8JaHPyH" style="white-space-collapse: preserve;">working</span>.</div><div>I tried:</div><div><font face="monospace">./configure --enable-auth-basic=LDAP,SMB,SMB_LM --enable-auth-negotiate=kerberos,wrapper --enable-auth-ntlm=SMB_LM --enable-external-acl-helpers=kerberos_ldap_group,wbinfo_group --with-ldap=/usr</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">./configure --enable-auth-basic=LDAP,SMB,SMB_LM --enable-auth-negotiate=kerberos,wrapper --enable-auth-ntlm=SMB_LM --enable-external-acl-helpers=kerberos_ldap_group,wbinfo_group --with-ldap=/usr/lib64</font></div><div><br></div><div>Kind regards,</div><div>     Ankor.</div><div><br></div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">вт, 15 июл. 2025 г. в 13:58, Amos Jeffries <<a href="mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 15/07/25 21:41, Andrey K wrote:<br>
> Hello, Francesco,<br>
> <br>
> The output of the command:<br>
> pkg-config --libs ldap<br>
> Package ldap was not found in the pkg-config search path.<br>
> Perhaps you should add the directory containing `ldap.pc'<br>
> to the PKG_CONFIG_PATH environment variable<br>
> Package 'ldap', required by 'virtual:world', not found<br>
> <br>
> However, the libldap is installed in the system as a part of the <br>
> openldap package:<br>
> locate libldap<br>
> /usr/lib64/libldap-2.4.so.2<br>
> /usr/lib64/libldap-2.4.so.2.10.9<br>
> /usr/lib64/libldap.so<br>
> /usr/lib64/libldap_r-2.4.so.2<br>
> /usr/lib64/libldap_r-2.4.so.2.10.9<br>
> /usr/lib64/libldap_r.so<br>
> <br>
> There is no ldap.pc file in the standard OEL openldap packages:<br>
> openldap-devel-2.4.46-18.el8.x86_64<br>
> openldap-2.4.46-18.el8.x86_64<br>
> <br>
<br>
I think the issue is that the ldap.pc was added in openldap 2.5. Your <br>
version is just a bit older.<br>
<br>
<br>
This build option should work for your older OpenLDAP install:<br>
<br>
   ./configure --with-ldap=/usr<br>
<br>
<br>
Cheers<br>
Amos<br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="https://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">https://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>