lua-users home
lua-l archive

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

On 21/02/13 19:14, Luiz Henrique de Figueiredo wrote:
Slackware64 13.37

'make linux' bombed without the -lncurses option.
Strange... From a recent discussion of this issue here, the consensus was
that readline should know its dependencies.

Anyway, to fix this in your case, you don't need to edit src/Makefile; can do
	make linux MYLIBS=-lncurses

It's that whole termcap vs. ncurses thing...

$ make linux MYLIBS=-ltermcap

...worked as well.

I'm not that familiar with these libs and most googling points back to this list and your thread asking about this issue several years ago :)

Slackware builds readline using the --with-curses configure option, but...

$ ldd -r /usr/lib64/ =>  (0x00007fffa65ff000) => /lib64/ (0x00007fe06a17b000)
    /lib64/ (0x00007fe06a789000)
undefined symbol: PC    (/usr/lib64/
undefined symbol: UP    (/usr/lib64/
undefined symbol: BC    (/usr/lib64/
undefined symbol: tgetflag    (/usr/lib64/
undefined symbol: tgetent    (/usr/lib64/
undefined symbol: tputs    (/usr/lib64/
undefined symbol: tgoto    (/usr/lib64/
undefined symbol: tgetnum    (/usr/lib64/
undefined symbol: tgetstr    (/usr/lib64/

Which, I think, means the option was ignored (probably because libtermcap was present). Is this a bug with Slack's build?