New comment by pudiva on void-packages repository https://github.com/void-linux/void-packages/pull/32162#issuecomment-897514495 Comment: > > so looks like it builds luajit-minilua and then tries to use it, which probably fails because host can't run target binaries? > > More specifically, it fails to find the binary's dynamic linker, which makes for quite a terrible error message. But yes :) Sorry, this is indeed a terribly misleading error message that I have gotten used to and sometimes forget how not obvious it can be to others ~ thanks for explaining :sparkles: > > I know there's an option to use system lua, but I had problems with it before. I think it has to do with the version void ships. > > Do you remember the problem you had with it? Void ships a bunch of Lua versions... The old template had the option to use system Lua, but it failed because some Aegisub script uses a syntax that is incompatible with the version void ships... or at least that's what I remember. Anyway, that was with the problematic `./configure` script, the CMake doesn't seem to have the option of using system Lua at all. > > Mind explaining why cross compiling is important here, @ericonr ? slightly_smiling_face > > Mostly so we can build it for ARM/aarch64 :) technically it's broken for cross already, so adding `nocross` would be ok, but it's always nice to improve a situation :p Cool, so I'll try a bit more later today and then add the `nocross` if everything fails. :)