[yt-users] readline and ncurses

Matthew Turk matthewturk at gmail.com
Wed Feb 8 10:58:43 PST 2012


I'd say chat with the sysadmin -- naively, my only thought is that
it's refusing to link against lib64, or for some reason not respecting
the .5 and .5.7 files, instead looking for just a .so.

-Matt

On Wed, Feb 8, 2012 at 1:56 PM, Elizabeth Tasker
<tasker at astro1.sci.hokudai.ac.jp> wrote:
> Hi Matt,
>
> Oddly, I still get the same error, but it looks like it should have worked:
>
> 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/ -L/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
>
> Could it be a version problem? If so, I can go and beat up sysadmin :)
>
> Elizabeth
>
>
> On 8 February 2012 13:50, Matthew Turk <matthewturk at gmail.com> wrote:
>> 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
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> _______________________________________________
> 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