Skip to content

bz2 library cannot be found if package libbz2-dev is not installed #1

Description

@rikka0w0

Found on Debian 13 x86_64 + openresty/1.27.1.2

local bzlib = ffi.load('bz2')

Change to

local bzlib = ffi.load('libbz2.so.1')

to solve the issue. Otherwise, users would have to manually sudo apt install libbz2-dev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions