Preloader
Others
  • Estimated reading time: 1 Minute

How to solve the configure error: At least one of ncursesw/ncurses/pdcurses/curses library must be present

How to solve the configure error: At least one of ncursesw/ncurses/pdcurses/curses library must be present

When trying to run the ./configure file in a project that uses make, you will likely to find the following error:

error: At least one of ncursesw/ncurses/pdcurses/curses library must be present

Specifically if you don't have any of the mentioned libraries in your system. You can easily solve this problem installing the proper library. Depending of your environment the installation will be different.

Cygwin (Windows)

If you are in Windows using Cygwin, you will need to re-run the setup of Cygwin and include the following libraries:

  • libncurses++w10
  • libncurses-devel
  • ncurses

As shown in the following image, be sure to select the latest version:

NCurses Library

Then click on next and install the packages, this should solve the problem that you have with this dependency.

Debian/Ubuntu

If you are using a debian based distro, you may simply install the library with the following command using apt-get:

sudo apt-get install libncursesw5-dev

This should solve the problem in this environment.

RedHat/Fedora/CentOS

Alternatively if you are working on CentOS, install it using yum:

sudo yum install ncurses-devel

Happy coding ❤️!

Share:
Carlos Delgado

Carlos Delgado

Senior Software Engineer at Corvix. Interested in programming since he was 14 years old, Carlos is a self-taught programmer and founder and author of most of the articles at Our Code World.

Related articles
7 Best Jotform Alternatives in 2027 for Businesses and Teams
23 Sep, 2026
  • Estimated reading time: 14 Minutes
How to Turn Off Siri AI on iOS 27 and Fix Siri Issues
23 Sep, 2026
  • Estimated reading time: 7 Minutes
The Claims Evidence Problem Hiding Inside CCTV Footage
23 Sep, 2026
  • Estimated reading time: 5 Minutes
List of Best VMware Competitors in Germany
23 Sep, 2026
  • Estimated reading time: 7 Minutes
Weekly trending
7 Best Jotform Alternatives in 2027 for Businesses and Teams
23 Sep, 2026
  • Estimated reading time: 14 Minutes
How to Turn Off Siri AI on iOS 27 and Fix Siri Issues
23 Sep, 2026
  • Estimated reading time: 7 Minutes
The Claims Evidence Problem Hiding Inside CCTV Footage
23 Sep, 2026
  • Estimated reading time: 5 Minutes
Our Sponsors

Our blog is proudly supported by industry-leading sponsors.