阿帕奇超集 |中山操作系统 |码头工人 |单个容器



我遇到了开发文件的构建/编译错误(标头问题(python ldap与Apache Superset的集成。这两个模块都安装了openldap-devel和python-devel。

https://www.python-ldap.org/en/python-ldap-3.2.0/installing.html#centos

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

这种错误通常是指您缺少某个包。我无法安装 python-ldap的问题讨论了哪些软件包是 openLDAP 的先决条件以及如何安装它们。

相关内容

  • 没有找到相关文章

最新更新