Do you have /usr/lib/libtinfo.so and does it contain tgetent?
On Fedora:
$ nm -D /usr/lib64/libtinfo.so | grep tgetent
0000000000011ff0 T tgetent
Note there may actually be an upstream bug here, in that we are checking
the wrong library (ncurses) for this symbol.