lua-users home
lua-l archive

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


It was thus said that the Great Larry Wyble once stated:
> I'll be damned.  lol
> How could you tell from that error that I needed to call -lncurses?

  From the following output you included in your initial email:

/usr/local/lib/libreadline.so: undefined reference to `tputs'
/usr/local/lib/libreadline.so: undefined reference to `tgoto'
/usr/local/lib/libreadline.so: undefined reference to `tgetflag'
/usr/local/lib/libreadline.so: undefined reference to `UP'
/usr/local/lib/libreadline.so: undefined reference to `tgetent'
/usr/local/lib/libreadline.so: undefined reference to `tgetnum'
/usr/local/lib/libreadline.so: undefined reference to `PC'
/usr/local/lib/libreadline.so: undefined reference to `tgetstr'
/usr/local/lib/libreadline.so: undefined reference to `BC'

  That means that there's either a missing library during the linking stage. 
A "man tputs" or Google "tputs" would reveal it's a curses library call. 
With enough experience you know that you need "-lcurses".  If you don't have
the experience, then a few more Google searches would give you the answer
(I think).

  -spc