cannot find -llua5.1
striveQiao opened this issue · comments
striveQiao commented
Diego Argueta commented
Try running lua -v
and see what that returns. There are three possible results (I think)
-
If you get "command not found" you don't have Lua installed
-
If you get something like this:
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio
That means you have a different version of Lua installed and don't have that specific library, or it's not installed in the expected place.
- If you do get a version string that's 5.1.x then you probably have the library installed but it's not your linker's default search path (fairly common).