Node.js NodeJS npm安装LDAP客户端错误代码1
安装Node.js NodeJS npm安装LDAP客户端错误代码1,node.js,ldap,openldap,ldap-client,Node.js,Ldap,Openldap,Ldap Client,安装openldap-devel后,我的错误仍然存在 我在Linux 3.10.0-514.6.1.el7.x86_64上运行。对于我来说,使用npm install安装ldap客户端软件包是一个很大的障碍。有人能帮我一下吗?我无法使用yum在Linux上安装libldap2 dev。但是我已经成功地安装了这两个软件包:sudo-yum-install-python-devel和sudo-yum-install-openldap-devel。看起来,apt-get仅用于安装libldap2-de
openldap-devel
后,我的错误仍然存在
我在Linux 3.10.0-514.6.1.el7.x86_64上运行。对于我来说,使用npm install
安装ldap客户端软件包是一个很大的障碍。有人能帮我一下吗?我无法使用yum
在Linux上安装libldap2 dev
。但是我已经成功地安装了这两个软件包:sudo-yum-install-python-devel
和sudo-yum-install-openldap-devel
。看起来,apt-get
仅用于安装libldap2-dev
的Debian/Ubuntu。我已经没有想法了,部署这个系统花了我更长的时间
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
我做了一些家庭作业