EPICS
> /usr/lib/libreadline.so.5: undefined reference to `PC'
> /usr/lib/libreadline.so.5: undefined reference to `tgetflag'
> /usr/lib/libreadline.so.5: undefined reference to `tgetent'
> /usr/lib/libreadline.so.5: undefined reference to `UP'
> /usr/lib/libreadline.so.5: undefined reference to `tputs'
> /usr/lib/libreadline.so.5: undefined reference to `tgoto'
> /usr/lib/libreadline.so.5: undefined reference to `tgetnum'
> /usr/lib/libreadline.so.5: undefined reference to `BC'
> /usr/lib/libreadline.so.5: undefined reference to `tgetstr'
=========================
In CONFIG_SITE.Common.linux-x86 (or CONFIG_SITE.Common.linux-x86_64 as appropriate) uncomment the line that gets NCURSES:
...
# No other libraries needed (recent Fedora, Ubuntu etc.):
#COMMANDLINE_LIBRARY = READLINE
# Needs -lncurses (RHEL 5 etc.):
COMMANDLINE_LIBRARY = READLINE_NCURSES
# Needs -lcurses (older versions)
#COMMANDLINE_LIBRARY = READLINE_CURSES
.