write down,forget

nginx,luajit编译报错

<Category: Nginx> 查看评论

checking for library in /usr/local/lib/ and /usr/local/include/-2.0 (specified by the _LIB and _INC env) … not found        ./configure: error: ngx_http_lua_module requires the Lua or library and _LIB is defined as /usr/local/lib/ and _INC (path for lua.h) /usr/local/include/-2.0, but we cannot find 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编译报错