KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am building nginx with lua support as follows. export LUAJIT_LIB=/usr/local/lib/ export LUAJIT_INC=/usr/local/include/luajit-2.0/ ./configure --with-http_geoip_module --with-http_stub_status_module --with-http_ssl_module --add-module=/home/ubuntu/ngx_devel_kit --add-module=/home/ubuntu/lua-nginx-module --add-module=/home/ubuntu/redis2-nginx-module --add-module=/home/ubuntu/form-input-nginx-module make -j2 sudo make install Seems to compile ok. When I start nginx, I get this error sudo /etc/init.d/nginx start Starting nginx: /usr/local/nginx/sbin/nginx: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory I then locate the file in question and its in /usr/local/lib/libluajit-5.1.so.2 I then add: LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH sudo /etc/init.d/nginx start I still get the error. I am out of ideas. Thanks
Tags (comma-separated)
Save Edits
Cancel