Issue:/usr/bin/ld: cannot find -lncurses

Condition:

Linux tvm 4.10.0-27-generic #30~16.04.2-Ubuntu SMP Thu Jun 29 16:07:46 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Issue:

/usr/bin/ld: cannot find -lncurses

Solution:

x86_32 sudo apt-get install libncurses5-dev

x86_64 sudo apt-get install lib32ncurses5-dev