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@lists.squid-cache.org
https://lists.squid-cache.org/listinfo/squid-users