[yt-users] readline and ncurses

Elizabeth Tasker tasker at astro1.sci.hokudai.ac.jp
Wed Feb 8 10:49:12 PST 2012


Hi,

I'm trying to install readline to work with iyt via:

yt/bin/pip install readline

But gcc can't find the libncurses library:

gcc -pthread -shared -L/home/taskere/yt/lib/ -L/home/taskere/yt/lib64/
-L/home/taskere/yt/lib/ -L/home/taskere/yt/lib64/
-L/home/taskere/yt/lib/ -L/home/taskere/yt/lib64/
-L/home/taskere/yt/lib/ -L/home/taskere/yt/lib64/
build/temp.linux-x86_64-2.7/Modules/2.x/readline.o
readline/libreadline.a readline/libhistory.a -lncurses -o
build/lib.linux-x86_64-2.7/readline.so

/usr/bin/ld: cannot find -lncurses


which is totally on this machine:

[taskere at iqaluk ~]$ locate libncurses
/lib64/libncurses.so.5
/lib64/libncurses.so.5.7
/lib64/libncursesw.so.5
/lib64/libncursesw.so.5.7


/lib64 is in my LD_LIBRARY_PATH, but it looks like gcc doesn't check
that. Any ideas?

Elizabeth



More information about the yt-users mailing list