Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I get the following error when compiling speech_tools.

/usr/bin/ld: cannot find -lcurses
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make[1]: *** [ch_lab] Error 1
make: *** [main] Error 2

It can't find -lcurses

share|improve this question
    
Please leave a comment if my answer is not correct (can not test your problem here so it is partly a guess ;) ) – Rinzwind Jan 4 '13 at 6:44
    
@Rinzwind Yes ,it worked – Dave Jan 4 '13 at 17:36
up vote 2 down vote accepted

This probably means you need to install lncurses (package: http://packages.ubuntu.com/nl/quantal/libncurses5-dev)

So ...

sudo apt-get install libncurses5-dev
share|improve this answer
    
If cross-compiling 32-bit on a 64-bit system, use lib32ncurses5-dev – chronospoon Apr 29 '15 at 20:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.