0

I am running into build/compile error for development files (header issue) python ldap integration with Apache Superset. Both of the modules are installed openldap-devel and python-devel. https://www.python-ldap.org/en/python-ldap-3.2.0/installing.html#centos

Please help, Thanks!

  In file included from C/libldap.c:5:
  C/libldap.h:10:10: fatal error: ldap.h: No such file or directory
   #include <ldap.h>
            ^~~~~~~~
  compilation terminated.
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for py3-libldap

ibldap.c -o build/temp.linux-x86_64-3.6/C/libldap.o
    In file included from C/libldap.c:5:
    C/libldap.h:10:10: fatal error: ldap.h: No such file or directory
     #include <ldap.h>
              ^~~~~~~~
    compilation terminated.
    error: command 'gcc' failed with exit status 1

1 Answers1

0

That kind of error usually refers to some package you are missing, this other stack overflow question says which packages are prerequisites to openLDAP and how to install them.

Karen Palacio
  • 170
  • 1
  • 8
  • Awesome, I just tried it and looks like working, will keep you posted. I was setting this up in requirements.txt and was failing from there, but installed it directly and it worked! Thank you! – Prashant Mahajan Jun 26 '20 at 14:29