nginx-auth-ldap
nginx-auth-ldap copied to clipboard
nginx does not start with mod-http-auth-ldap dynamic module 2
OS: Debian 8 nginx version: nginx/1.10.0
Configure nginx with dynamic module
......
configuring additional dynamic modules
adding module in ./ldap
+ ngx_http_auth_ldap_module was configured
.......
next:
make modules
make -f objs/Makefile modules
make[1]: Entering directory './nginx-1.10.0'
cc -c -fPIC -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/addon/ldap/ngx_http_auth_ldap_module.o \
./ldap/ngx_http_auth_ldap_module.c
./ldap/ngx_http_auth_ldap_module.c: In function ‘ngx_http_auth_ldap_ldap_server’:
./ldap/ngx_http_auth_ldap_module.c:395:8: warning: #warning "http_auth_ldap: Compiling with OpenSSL < 1.0.2, certificate verification will be unavailable. OPENSSL_VERSION_NUMBER == " XSTR(OPENSSL_VERSION_NUMBER) [-Wcpp]
#warning "http_auth_ldap: Compiling with OpenSSL < 1.0.2, certificate verification will be unavailable. OPENSSL_VERSION_NUMBER == " XSTR(OPENSSL_VERSION_NUMBER)
^
cc -c -fPIC -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/ngx_http_auth_ldap_module_modules.o \
objs/ngx_http_auth_ldap_module_modules.c
cc -o objs/ngx_http_auth_ldap_module.so \
objs/addon/ldap/ngx_http_auth_ldap_module.o \
objs/ngx_http_auth_ldap_module_modules.o \
-shared
and when i trying to test nginx, i have got next error:
nginx -t
nginx: [emerg] dlopen() "/etc/nginx/modules/ngx_http_auth_ldap_module.so" failed (/etc/nginx/modules/ngx_http_auth_ldap_module.so: undefined symbol: ldap_err2string) in /etc/nginx/nginx.conf:7
nginx: configuration file /etc/nginx/nginx.conf test failed
Having the same issue. Have you been able to sove it @buddy? If yes, how?
thank you very much
Hello phlegx, Have you been able to sove it.
thank you very much
@rooseveltbaca Back then I have yes. But I have no clue anymore how I solved it, sorry