icr icon indicating copy to clipboard operation
icr copied to clipboard

Build needs to link against a termcap library on some systems

Open next-mad-hatter opened this issue 6 years ago • 0 comments

Currently out of the box build fails on some systems (e.g. latest Slackware Linux).

From what I gather [1] the readline library might not be explicitly linked to one providing termcap capabilities, so it needs to be explicitly given to the linker. On Slackware either --link-flags "-lncurses" or --link-flags "-ltermcap" works.

Not sure though if automatic detection, settling for one of the two libs or just a mention in the documentation would be preferred solution.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=499837

next-mad-hatter avatar Feb 10 '18 12:02 next-mad-hatter