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 Software Medico. 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
Automation Testing with LambdaTest (Now TestMu AI)
16 Jun, 2026
  • Estimated reading time: 7 Minutes
KaneAI: The Multi-Modal Testing Agent Inside LambdaTest
16 Jun, 2026
  • Estimated reading time: 6 Minutes
What Is LambdaTest Real Device Cloud
16 Jun, 2026
  • Estimated reading time: 7 Minutes
How Developers Are Building Smarter Blockchain Applications in 2026
16 Jun, 2026
  • Estimated reading time: 6 Minutes
The Best Sora Alternatives in 2026: Kling, Veo, and More Compared
16 Jun, 2026
  • Estimated reading time: 6 Minutes
Weekly trending
Automation Testing with LambdaTest (Now TestMu AI)
16 Jun, 2026
  • Estimated reading time: 7 Minutes
KaneAI: The Multi-Modal Testing Agent Inside LambdaTest
16 Jun, 2026
  • Estimated reading time: 6 Minutes
What Is LambdaTest Real Device Cloud
16 Jun, 2026
  • Estimated reading time: 7 Minutes
How Developers Are Building Smarter Blockchain Applications in 2026
16 Jun, 2026
  • Estimated reading time: 6 Minutes
The Best Sora Alternatives in 2026: Kling, Veo, and More Compared
16 Jun, 2026
  • Estimated reading time: 6 Minutes
Our Sponsors

Our blog is proudly supported by industry-leading sponsors.