Re: [OpenResty] How to start Nginx?

2014-01-27 Thread Shohreh
Thanks, but this is for an appliance, so a virtual machine is too big. Recompiling with "--prefix" solved the problem. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,246792,246862#msg-246862 ___ nginx mailing list nginx@nginx.org http://mail

Re: [OpenResty] How to start Nginx?

2014-01-27 Thread Shohreh
Thanks for the idea, but I had to compile Nginx because the one available in the depot didn't have Lua compiled, and I'd rather compile both Nginx and Lua at the same time. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,246792,246861#msg-246861 _

Re: [OpenResty] How to start Nginx?

2014-01-27 Thread Shohreh
Thanks Yichun. This is what I ended up doing, because "make install DESTDIR=blah" triggered other errors. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,246792,246860#msg-246860 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/

Re: [OpenResty] How to start Nginx?

2014-01-24 Thread Yichun Zhang (agentzh)
Hello! On Fri, Jan 24, 2014 at 6:43 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, Ng

Re: [OpenResty] How to start Nginx?

2014-01-24 Thread Styopa Semenukha
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-capabl

Re: [OpenResty] How to start Nginx?

2014-01-24 Thread Jim Ohlstein
On 1/24/14, 9:55 AM, Reinis Rozitis wrote: ./nginx: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory How should configure Debian so that Nginx find the files it needs? You can always write 'ldd nginx' (also for every other exe

Re: [OpenResty] How to start Nginx?

2014-01-24 Thread Reinis Rozitis
./nginx: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory How should configure Debian so that Nginx find the files it needs? You can always write 'ldd nginx' (also for every other executable on linux) to see where the librarier

[OpenResty] How to start Nginx?

2014-01-24 Thread Shohreh
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: