|
> gcc -o lua lua.o liblua.a -lm -Wl,-E -ldl -lreadline > /usr/local/lib/libreadline.so: undefined reference to `tputs' The readme says: "If you get link errors after that, then try "make linux MYLIBS=-ltermcap" http://www.lua.org/manual/5.2/readme.html Could you please try this?