-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels