Using OpenResty, I compiled and installed a Lua-capable Nginx in /tmp so
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
./nginx: error while loading shared libraries: libluajit-5.1.so.2:
open shared object file: No such file or directory
FYI, here’s what tmp/ngx_openresty-220.127.116.11/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?
Posted at Nginx Forum: