openldap is involved in a cyclic build dependency (curl, openldap, cyrus-sasl2, postgresql-16, gdb, elfutils, curl). The ability to load LDAP resources is probably a relatively infrequently used feature of curl, and is straightforward to disable.
Helps: #1036884 Closes: #1066981