Hide Forgot
Description of problem: The openldap-devel package seems to be missing headers that are required to build external modules for openldap/openldap-servers. Version-Release number of selected component (if applicable): openldap-devel-2.3.43-12.el5_5.3 How reproducible: Every time Steps to Reproduce: 1. install openldap-devel (and all openldap packages needed for openldap-servers) 2. try to build check_password module (for instance) using the include path -I/usr/include (as per rpm -ql openldap-devel) Actual results: The module compile fails with errors about not finding slap.h and portable.h After a thorough search of all openldap rpms these files do not seem to be present even though they exist in the src rpm. Expected results: The module builds properly finding all headers needed. Additional info: Since this is the point of a devel package, it seems that all necessary headers should be contained in that package it would seem. Not just the portable.h and the ldap.h but also the files that are included in those files and their the resulting includes in them as well. In others words all openldap headers. I have built this module using the source tree in the openldap src.rpm after extracting it but I lose the benefit of your upstream patches this way since the rpm build process for openldap does the patching. Can you please update the openldap-devel package to have the patched header files needed? Thanks
We ship all header files installed by "make install" without any changes from upstream. If you want to compile your own external module, you can install/extract OpenLDAP SRPM and run 'rpmbuild -bp openldap.spec'. You will get the source tree with all our patches applied.