As reported in https://github.com/gentoo/musl/issues/293 and upstream in https://github.com/LuaJIT/LuaJIT/issues/552, the current version of luajit will not properly create symlinks to its library files if ldconfig is unavailable. This will happen on musl-based systems, for example. The following commit fixes the issue and should be included in current stable ebuilds: https://github.com/LuaJIT/LuaJIT/commit/18c9cf7d3788a8f7408df45df92fc4ae3bcc0d80 Reproducible: Always Steps to Reproduce: 1. Emerge dev-lang/luajit on a system that does not have ldconfig 2. Run a program linked against luajit Actual Results: The program fails, not finding the library. Expected Results: The program starts.
fixed. thanks for reporting!