Hello!
On Wed, Nov 13, 2013 at 10:47 PM, cdn_01 wrote:
> 24051#0: *48 lua entry thread aborted: runtime error: /usr/local/openresty/lualib/resty/mysql.lua:4: module 'bit' not found:
resty.mysql 库依赖 LuaJIT 自带的 bit 模块。显然你编译 openresty 时启用的是默认的标准 Lua 5.1
解释器。建议使用 ./configure --with-luajit -j2 && make -j2 重新构造你的 openresty.
关于编译 openresty 的更多细节,请参见官方的安装文档:
http://openresty.org/#Installation
另外,请先加入本邮件列表,再进行发贴操作。谢谢合作!
Regards,
-agentzh