Results 1 to 2 of 2
Hi I downloaded the source from lua.org
Here's the problem:
Code:
-bash-4.1# make linux
cd src && make linux
make[1]: Entering directory `/root/lua-5.1.4/src'
make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory ...
- 09-22-2010 #1Just Joined!
- Join Date
- May 2008
- Posts
- 34
[SOLVED] Trying to install LUA
Hi I downloaded the source from lua.org
Here's the problem:Code:-bash-4.1# make linux cd src && make linux make[1]: Entering directory `/root/lua-5.1.4/src' make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" make[2]: Entering directory `/root/lua-5.1.4/src' gcc -o lua lua.o liblua.a -lm -Wl,-E -ldl -lreadline -lhistory -lncurses /usr/bin/ld: cannot find -lreadline collect2: ld returned 1 exit status make[2]: *** [lua] Error 1 make[2]: Leaving directory `/root/lua-5.1.4/src' make[1]: *** [linux] Error 2 make[1]: Leaving directory `/root/lua-5.1.4/src' make: *** [linux] Error 2
- 09-22-2010 #2Just Joined!
- Join Date
- May 2008
- Posts
- 34
nvm. i got it.. needed readline-devel.


