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@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
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@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@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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
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@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@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@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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
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@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@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@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@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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Just a wrap up, in case someone else hits this issue: sysadmin installed the -devel and -static ncurses files and now everything works :) Thanks for the advice! Elizabeth On 8 February 2012 13:58, Matthew Turk <matthewturk@gmail.com> wrote:
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@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@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@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@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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Elizabeth Tasker
-
Matthew Turk