[yt-users] readline and ncurses

Matthew Turk matthewturk at gmail.com
Wed Feb 8 10:50:28 PST 2012


Hi Elizabeth,

Can you try with:

export LDFLAGS=-L/lib64

and then pip install?

-Matt

On Wed, Feb 8, 2012 at 1:49 PM, Elizabeth Tasker
<tasker at astro1.sci.hokudai.ac.jp> wrote:
> 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
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



More information about the yt-users mailing list