Hi,
if libncurses if build with split out libtinfo as done in many distros
we need to link against both libs. Please find attached a patch which
utilizes pkg-conifg to detect the correct libs to link with. If that
fails it falls back to the original configure structure.
Regards,
Justin