Skip to content

Ledge is not compatible with Openresty #183

@xemose

Description

@xemose

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions