Can't locate nginx.pm in @INC
nginx-forum at nginx.us
Fri Oct 24 20:06:55 UTC 2014
When I try to start nginx with embedded perl I get the error "Can't locate
nginx.pm in @INC"
@INC includes the folder I specified using --with-perl_modules_path, but
doesn't include the arch-name subfolder (i386-linux-thread-multi), which is
where the nginx.pm module was installed to.
This is my configure:
./configure --prefix=$HOME/apps/$NGINX \
--with-http_ssl_module --with-openssl=../$OPENSSL \
--with-http_perl_module --with-perl_modules_path=perl/lib \
This is Nginx 1.7.6, building on CentOS. I have 1.7.3 built on Ubuntu with
embedded perl module and that does look in the correct location for the
module, though I can't remember if I had to change anything to get that
Can anyone tell me what I need to do to get it to look in the arch-name
subfolder for the module?
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254255,254255#msg-254255
More information about the nginx