write down,forget
标签 Tag : luajit

nginx,luajit编译报错

<Category: Nginx> Comments Off on nginx,luajit编译报错

checking for LuaJIT library in /usr/local/lib/ and /usr/local/include/luajit-2.0 (specified by the LUAJIT_LIB and LUAJIT_INC env) … not found        ./configure: error: ngx_http_lua_module requires the Lua or LuaJIT library and LUAJIT_LIB is defined as /usr/local/lib/ and LUAJIT_INC (path for lua.h) /usr/local/include/luajit-2.0, but we cannot find LuaJIT there.

 

centos5.6下,同样脚本centos6没有问题

http://www.quwenqing.com/read-213.html

 

编辑 Makefile文件,找到ldconfig位置(75行)
原内容是:LDCONFIG= ldconfig -n
修改为:LDCONFIG= /sbin/ldconfig -n
然后对LuaJIT重新make install

 

本文来自: nginx,luajit编译报错