@Juanito: simply install these two dependencies not resolve
@rich: i try to copy:
/usr/local/lib/liblua.so to /usr/local/lib/lua5.1
/usr/local/lib/liblua.so to /usr/local/lib/lua5.1.a
/usr/local/lib/liblua.so to /usr/local/include/lua5.1
/usr/local/lib/liblua.a to /usr/local/lib/lua5.1.a
But this don't work, there is the makefile: