error while compiling speech_tools can not find -lcurses

5,610

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:
5,610

Related videos on Youtube

Dave
Author by

Dave

Updated on September 18, 2022

Comments

  • Dave
    Dave almost 2 years

    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

    • Rinzwind
      Rinzwind over 11 years
      Please leave a comment if my answer is not correct (can not test your problem here so it is partly a guess ;) )
    • Dave
      Dave over 11 years
      @Rinzwind Yes ,it worked
  • chronospoon
    chronospoon about 9 years
    If cross-compiling 32-bit on a 64-bit system, use lib32ncurses5-dev