You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing Ledge through OPM or Luarocks both result in the following error.
nginx: [error] init_by_lua error: /usr/local/openresty/site/lualib/ffi-zlib.lua:98: libz.so: cannot open shared object file: No such file or directory
stack traceback:
[C]: in function 'load'
/usr/local/openresty/site/lualib/ffi-zlib.lua:98: in main chunk
[C]: in function 'require'
/usr/local/openresty/luajit/share/lua/5.1/ledge/ledge.lua:8: in main chunk
[C]: in function 'require'
/usr/local/openresty/lualib/sm/init.lua:29: in function 'run'
init_by_lua:3: in main chunk
A issue from one of Openresty's repositories states that this is a path issue. Is there a solution for this or is Ledge not fully compatible with Openresty?
The text was updated successfully, but these errors were encountered:
Hi! Ledge does work Openresty and its how we run it in production. The error you've posted looks like you're missing zlib which is used in lua-ffi-zlib which ledge depends on.
Can you try installing that or give some more info as to what platform you're running this on?
When installing Ledge through OPM or Luarocks both result in the following error.
A issue from one of Openresty's repositories states that this is a path issue. Is there a solution for this or is Ledge not fully compatible with Openresty?
The text was updated successfully, but these errors were encountered: