Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cqueues doesn't work on FreeBSD 13.1 #255

Open
duncan-bayne opened this issue Apr 15, 2023 · 0 comments
Open

cqueues doesn't work on FreeBSD 13.1 #255

duncan-bayne opened this issue Apr 15, 2023 · 0 comments

Comments

@duncan-bayne
Copy link

duncan-bayne commented Apr 15, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant