Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36185

Install 'readline' dep for iPython

$
0
0
I'm digging into Python and very green with it. Here, I'm attempting to make iPython happy by installing the readline package via pip; F18/fully patched:

$ sudo python-pip install readline
...
gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/Modules/2.x/readline.o readline/libreadline.a readline/libhistory.a -L/usr/lib64 -lncurses -lpython2.7 -o build/lib.linux-x86_64-2.7/readline.so

/bin/ld: cannot find -lncurses
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
---

$ which ld
/usr/bin/ld

The readline pip package is looking in the wrong place for ld.

How would you make readline look for ld in the right place?

Viewing all articles
Browse latest Browse all 36185

Trending Articles