Found on Debian 13 x86_64 + openresty/1.27.1.2 https://github.com/xiaooloong/lua-resty-bzlib/blob/4a9c8020f40572484b6d0db83b4e0f61857ec492/lualib/resty/bzlib/init.lua#L28 Change to ```lua local bzlib = ffi.load('libbz2.so.1') ``` to solve the issue. Otherwise, users would have to manually `sudo apt install libbz2-dev`.
Found on Debian 13 x86_64 + openresty/1.27.1.2
lua-resty-bzlib/lualib/resty/bzlib/init.lua
Line 28 in 4a9c802
Change to
to solve the issue. Otherwise, users would have to manually
sudo apt install libbz2-dev.