Subject: | Nginx does not restart with the redis module Nginx::Redis; |
Date: | Thu, 14 Apr 2016 13:31:14 +0530 |
To: | bug-Nginx-Redis [...] rt.cpan.org |
From: | Ramprasad Padmanabhan <ramprasad.ap [...] gmail.com> |
On Centos7
with perl 5.16.3
I have nginx 1.9.9 , which works fine with perl modules
But Nginx::Redis; does not load
If I just put 'use Nginx::Redis;' in my module NGINX does not start
I get an error like this on nginx error log
2016/04/14 13:19:15 [emerg] 23015"Can't load
'/usr/lib64/perl5/lib/perl5/x86_64-linux-thread-multi/auto/Nginx/Nginx.so'
for module Nginx:
/usr/lib64/perl5/lib/perl5/x86_64-linux-thread-multi/auto/Nginx/Nginx.so:
undefined symbol: ngx_perl_log at /usr/share/perl5/XSLoader.pm line 68.
NGINX compile options are here
[root@devmailing_50_168 nginx]# nginx -V
nginx version: nginx/1.9.9
built by gcc 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC)
built with OpenSSL 1.0.1e-fips 11 Feb 2013
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx
--conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log
--http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid
--lock-path=/var/run/nginx.lock
--http-client-body-temp-path=/var/cache/nginx/client_temp
--http-proxy-temp-path=/var/cache/nginx/proxy_temp
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp
--http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp
--http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx
--with-http_ssl_module --with-http_realip_module
--with-http_addition_module --with-http_sub_module --with-http_dav_module
--with-http_flv_module --with-http_mp4_module --with-http_gunzip_module
--with-http_gzip_static_module --with-http_random_index_module
--with-http_secure_link_module --with-http_stub_status_module
--with-http_auth_request_module --with-mail --with-mail_ssl_module
--with-file-aio --with-ipv6 --with-http_perl_module --with-ld-opt=-Wl,-E
--with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic'