Welcome! Log In Create A New Profile

Advanced

Re: [OpenResty] How to start Nginx?

Styopa Semenukha
January 24, 2014 02:02PM
Also, in Debian you can use apt-file to find the necessary lib:
aptitude install apt-file && apt-file update
apt-file search libluajit
or
apt-file search -x 'libluajit.*\.so$'

On Friday, January 24, 2014 09:43:55 AM Shohreh wrote:
> Hello
>
> Using OpenResty, I compiled and installed a Lua-capable Nginx in /tmp so I
> could experiment with it before replacing the current Nginx that was
> installed through apt-get.
>
> However, since files are located in non-standard locations, Nginx can't find
> them:
> ====================================
> /tmp/ngx_openresty-1.4.3.6/install/usr/local/openresty/nginx/sbin# ./nginx
> ./nginx: error while loading shared libraries: libluajit-5.1.so.2: cannot
> open shared object file: No such file or directory
> ====================================
>
> FYI, here's what tmp/ngx_openresty-1.4.3.6/install/usr/local/openresty/
> contains:
> ====================================
> drwxr-xr-x 6 root root 4096 Jan 21 16:01 luajit/
> drwxr-xr-x 5 root root 4096 Jan 21 16:03 lualib/
> drwxr-xr-x 6 root root 4096 Jan 21 16:01 nginx/
> ====================================
>
> How should configure Debian so that Nginx find the files it needs?
>
> Thank you.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,246792,246792#msg-246792
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
--
Best regards,
Styopa Semenukha.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

[OpenResty] How to start Nginx?

Shohreh January 24, 2014 09:43AM

Re: [OpenResty] How to start Nginx?

Reinis Rozitis January 24, 2014 09:56AM

Re: [OpenResty] How to start Nginx?

Jim Ohlstein January 24, 2014 10:54AM

Re: [OpenResty] How to start Nginx?

Shohreh January 27, 2014 07:55AM

Re: [OpenResty] How to start Nginx?

Styopa Semenukha January 24, 2014 02:02PM

Re: [OpenResty] How to start Nginx?

Shohreh January 27, 2014 07:54AM

Re: [OpenResty] How to start Nginx?

Yichun Zhang (agentzh) January 24, 2014 02:50PM

Re: [OpenResty] How to start Nginx?

Shohreh January 27, 2014 07:53AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 191
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready