Hi,
I use opensuse to build nginx.
Then I build nginx with lua-nginx-module 0.10.6. After that, I run ldd /usr/sbin/nginx to check the libraries used by nginx, and I find that nginx link to liblua instead of luajit library.
liblua.so.5.1 => /usr/lib64/liblua.so.5.1
In my nginx build, when running lua script, I get the error below:
nginx: [error] init_by_lua_file error: ...inx/lua/vendor/lua-resty-core/lib/resty/core/uri.lua:4: module 'ffi' not found:
no field package.preload['ffi']
no file '.ffi.lua'
............
What do I make mistake?
Thanks