1

安装后openldap-devel,我的错误仍然存​​在。

我在 Linux 3.10.0-514.6.1.el7.x86_64 上运行。这对我使用npm install. 有人可以帮我解决这个问题吗?我无法libldap2-dev使用yum. 但是我已经成功安装了这两个包:sudo yum install python-develsudo yum install openldap-devel. 看起来apt-get仅适用于 Debian/Ubuntu 用于安装libldap2-dev. 我的想法已经用完了,部署系统花了我更长的时间。

ldap-client@3.1.3 install Project/node_modules/ldap-client
node-gyp rebuild
make: Entering directory /home/Workspace/slack-weare/node_modules/ldap- 
client/build' CXX(target) Release/obj.target/LDAPCnx/LDAP.o In file 
included from ../LDAP.cc:2:0: ../LDAPCnx.h:5:18: fatal error: ldap.h: 
No such file or directory compilation terminated. make: *** 
[Release/obj.target/LDAPCnx/LDAP.o] Error 1

我做了一些功课。

https://github.com/linkedin/oncall/issues/130

https://github.com/digicoop/kaiwa/issues/4

https://github.com/kvspb/nginx-auth-ldap/issues/5

https://github.com/kvspb/nginx-auth-ldap/issues/156

https://github.com/kvspb/nginx-auth-ldap/issues/48

4

0 回答 0