#./configure --prefix=/usr/local/openresty
.....
BUILDVM jit/vmdef.lua
DYNLINK libluajit.so
LINK luajit
lj_prng.c:201: error: undefined reference to 'getentropy'
collect2: error: ld returned 1 exit status
gmake[1]: *** [Makefile:734: luajit] Error 1
gmake[1]: Leaving directory '/home/lhm/openresty-1.19.3.1/build/LuaJIT-2.1-20201027/src'
gmake: *** [Makefile:113: default] Error 2
ERROR: failed to run command: gmake TARGET_STRIP=@: CCDEBUG=-g XCFLAGS='-DLUAJIT_ENABLE_LUA52COMPAT' CC=cc PREFIX=/usr/local/openresty/luajit
#uname -a
DragonFly 5.8-RELEASE DragonFly v5.8.1.3.gc81c9-RELEASE #2: Sun May 17 14:23:03 CST 2020 lhm@xxxx.com:/usr/obj/usr/src/sys/lhmwzy x86_64