I cannot tell, but I don't think that 2.4.19 is incompatible. Does line 2080 of /usr/local/include/ldap.h contains the following?
Quote:
ldap_create_page_control LDAP_P((
|
I guess that your openldap conflicts with Slackware's openldap-client. How did you install opeldap?