### `lua5.2 tests/test_py.lua ` # fails... * #94 runs `lua tests/test_py.lua` on Lua 5.1, 5.2, 5.3, 5.4, and 5.5 on Ubuntu 26.04. The tests pass on lua5.1 and lua5.3 but fail on ___lua5.2___ with: ``` lua5.2: error loading module 'python' from file './python.so': ./python.so: undefined symbol: luaL_loadbuffer ``` https://github.com/bastibe/lunatic-python/blob/26d0ac7563eeedc22fb04f103e3d16cebe382f5d/src/luainpython.c#L489
Activity
[-]Lua5.2 only: `./python.so`: undefined symbol: `luaL_loadbuffer`[/-][+]Lua5.2 only: `python.so`: undefined symbol: `luaL_loadbuffer`[/+][-]Lua5.2 only: `python.so`: undefined symbol: `luaL_loadbuffer`[/-][+]lua5.2 only: `python.so`: undefined symbol: `luaL_loadbuffer`[/+]cclauss commentedon Jul 8, 2026
Fixed in
Important
ALWAYS add the
--lua-versionoption when running apt-installed luarocks!All 8 tests pass at https://github.com/cclauss/lunatic-python/actions/runs/28924747799/job/85809670660