[OpenResty] How to start Nginx?
semenukha at gmail.com
Fri Jan 24 18:59:12 UTC 2014
Also, in Debian you can use apt-file to find the necessary lib:
aptitude install apt-file && apt-file update
apt-file search libluajit
apt-file search -x 'libluajit.*\.so$'
On Friday, January 24, 2014 09:43:55 AM Shohreh wrote:
> 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
> /tmp/ngx_openresty-22.214.171.124/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-126.96.36.199/install/usr/local/openresty/
> 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 at nginx.org
More information about the nginx