lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I'm not getting you. I have ncurses installed You mean I need -lncurses
in the Makefile? Why wouldn't it already be in there if it's required?
Makes no sense to me.  ??

Thanks


On Sat, 9 Aug 2014 12:10:21 -0500
Jeff Pohlmeyer <yetanothergeek@gmail.com> wrote:

> On Sat, Aug 9, 2014 at 12:06 PM, Larry Wyble <llwyble@suddenlink.net>
> wrote:
> 
> > but I still get errors like the following trying to build lua:
> 
> > make all SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl
> > -lreadline" make[2]: Entering directory
> > `/usr/local/src/lua-5.2.3/src' gcc -o lua   lua.o liblua.a -lm
> > -Wl,-E -ldl -lreadline /usr/local/lib/libreadline.so: undefined
> > reference to `tputs'
> >...
> > collect2: error: ld returned 1 exit status
> > make[2]: *** [lua] Error 1
> 
> > Any help appreciated, Thanks
> 
> 
> Looks like maybe you need -lncurses ?
> 
>  - Jeff
>