Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

gcc is complaining with the following when trying to sudo easy_install readline:

Running readline-6.2.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JEUNX3/readline-6.2.4/egg-dist-tmp-_THoHR
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status 1

Am I missing some RPM dependency for a happy build environment?

Linux vbweb 3.2.22-35.60.amzn1.x86_64

Thanks!

share|improve this question
    
Doesn't Amazon provide a readline package?! I swear, the more I hear about Amazon's AMIs, the less I like them. –  Michael Hampton Oct 19 '12 at 14:58

1 Answer 1

up vote 1 down vote accepted

You need to install the ncurses development package: yum install libncurses-dev.

share|improve this answer

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.