lbase64 doesn't work with lua 5.3, due to the use of luaL_register: $ lua -lbase64 lua: error loading module 'base64' from file '/usr/lib/lua/5.3/base64.so': /usr/lib/lua/5.3/base64.so: undefined symbol: luaL_register stack traceback: [C]: in ? [C]: in function 'require' [C]: in ?
If you turn on some compiler warnings you'll get the error at build time: $ sudo luarocks install lbase64 CFLAGS='-O2 -fPIC -Wall -Wextra -Werror' Installing https://luarocks.org/lbase64-20100323-1.src.rock... Using https://luarocks.org/lbase64-20100323-1.src.rock... switching to 'build' mode Do not use 'module' as a build type. Use 'builtin' instead. gcc -O2 -fPIC -Wall -Wextra -Werror -I/usr/include -c lbase64.c -o lbase64.o lbase64.c: In function ‘luaopen_base64’: lbase64.c:114:2: error: implicit declaration of function ‘luaL_register’ [-Werror=implicit-function-declaration] luaL_register(L,MYNAME,R); ^ cc1: all warnings being treated as errors Error: Build error: Failed compiling object lbase64.o ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
