[squid-users] squid-7.0.2 can't configure with LDAP-helpers
Andrey K
ankor2023 at gmail.com
Tue Jul 15 11:28:37 UTC 2025
Hello, Amos,
Thank you for the help.
> This build option should work for your older OpenLDAP install:
>
> ./configure --with-ldap=/usr
Unfortunately, the trick with the option --with-ldap=/usr doesn't seem to
be working.
I tried:
./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
./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
Kind regards,
Ankor.
вт, 15 июл. 2025 г. в 13:58, Amos Jeffries <squid3 at treenet.co.nz>:
> On 15/07/25 21:41, Andrey K wrote:
> > Hello, Francesco,
> >
> > The output of the command:
> > pkg-config --libs ldap
> > Package ldap was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `ldap.pc'
> > to the PKG_CONFIG_PATH environment variable
> > Package 'ldap', required by 'virtual:world', not found
> >
> > However, the libldap is installed in the system as a part of the
> > openldap package:
> > locate libldap
> > /usr/lib64/libldap-2.4.so.2
> > /usr/lib64/libldap-2.4.so.2.10.9
> > /usr/lib64/libldap.so
> > /usr/lib64/libldap_r-2.4.so.2
> > /usr/lib64/libldap_r-2.4.so.2.10.9
> > /usr/lib64/libldap_r.so
> >
> > There is no ldap.pc file in the standard OEL openldap packages:
> > openldap-devel-2.4.46-18.el8.x86_64
> > openldap-2.4.46-18.el8.x86_64
> >
>
> I think the issue is that the ldap.pc was added in openldap 2.5. Your
> version is just a bit older.
>
>
> This build option should work for your older OpenLDAP install:
>
> ./configure --with-ldap=/usr
>
>
> 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/20250715/420c40a5/attachment.htm>
More information about the squid-users
mailing list