Skip to content

cqueues doesn't work on FreeBSD 13.1 #255

Description

@duncan-bayne

I've used luarocks to install http, which in turn fetches cqueues as a dependency. However, when I run my Lua script:

lua54: error loading module '_cqueues' from file '/home/duncan/code/halp/lua-modules/lib/lua/5.4/_cqueues.so':
        /home/duncan/code/halp/lua-modules/lib/lua/5.4/_cqueues.so: Undefined symbol "inotify_init"
stack traceback:
        [C]: in ?
        [C]: in function 'require'
        ...e/duncan/code/halp/lua-modules/share/lua/5.4/cqueues.lua:2: in function <...e/duncan/code/halp/lua-modules/share/lua/5.4/cqueues.lua:1>
        (...tail calls...)
        [C]: in function 'require'
        ...ncan/code/halp/lua-modules/share/lua/5.4/http/server.lua:1: in main chunk
        [C]: in function 'require'
        ./halp.lua:12: in main chunk
        [C]: in ?

This is probably related to FreeBSD not supporting inotify; it's a Linux kernel feature not supported by FreeBSD.

Versions of things:

  • Lua 5.4.4
  • cqueues 20200726.54-0
  • luarocks 3.9.2
  • FreeBSD 13.1-RELEASE-p6 GENERIC amd64

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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