SvennD
July 12, 2015

curses.h: No such file or directory

Posted on July 12, 2015  •  1 minutes  • 142 words  •  Suggest Changes

While installing the latest samtools, there was a “missing” library called curses this is needed for the command line visualization tview (text view) of samtools. Although there is a build-in option to not use this library. Its an easy fix :  (centos 6.6)

yum install ncurses-devel ncurses

for debian distro’s this should work :

apt-get install libncurses5-dev libncursesw5-dev

 

tview, an example of samtools

// update 22/01/2016

Similar issue on Centos 6 while installing Firebird. I had to install the static libs.

[[email protected] ]# yum search ncurses
ncurses.x86_64 : Ncurses support utilities
ncurses-devel.i686 : Development files for the ncurses library
ncurses-devel.x86_64 : Development files for the ncurses library
ncurses-libs.i686 : Ncurses libraries
ncurses-libs.x86_64 : Ncurses libraries
ncurses-static.x86_64 : Static libraries for the ncurses library
ncurses-base.x86_64 : Descriptions of common terminals
ncurses-term.x86_64 : Terminal descriptions

A catch ’m all for me :

yum install ncurses-static.x86_64 ncurses-libs.x86_64 ncurses-libs.i686 ncurses-devel.x86_64 ncurses-devel.i686

 

Support

If you enjoyed this website, consider buying me a Dr. Pepper

Buy me a Dr PepperBuy me a Dr Pepper