I'm installing LuaSec 0.9 via LuaRocks 3.3.1 with OpenSSL 1.1.1g (via MacPorts).
I use luarocks install OPENSSL_DIR=/opt/local luasec
The compilation/installation is successful for Lua 5.1, 5.2, and 5.3
However, when I attempt to use it, I get errors, as follows:
- Lua 5.1
dlopen(/usr/local/lib/lua/5.1/ssl.so, 2): Symbol not found: _luaL_checkversion_
- Lua 5.2
dlopen(/usr/local/lib/lua/5.2/ssl.so, 6): Symbol not found: _lua_rotate
- Lua 5.3
- success