Changes between Initial Version and Version 1 of Ticket #14405, comment 83


Ignore:
Timestamp:
08/14/13 10:27:29 (8 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14405, comment 83

    initial v1  
    1 No, the issue that, despite the `-lncurses` in the gcc invocation, Python's `readline.so` does not actually link against `libncurses.so`. Some dynamic linking expert needed here.
     1No, the issue that, despite the `-lncurses` in the gcc invocation, Python's `readline.so` does not actually link against `libncurses.so:
     2{{{
     3(sage-sh) buildbot@arando:src$ ldd build/lib.linux-i686-2.7/readline.so
     4        linux-gate.so.1 =>  (0xb778b000)
     5        libreadline.so.6 => /var/lib/buildbot/build/sage/arando-1/arando_full/build/sage-5.12.beta1/local/lib/libreadline.so.6 (0xb7746000)
     6        libpython2.7.so.1.0 => /var/lib/buildbot/build/sage/arando-1/arando_full/build/sage-5.12.beta1/local/lib/libpython2.7.so.1.0 (0xb758e000)
     7        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7564000)
     8        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb73b1000)
     9        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb73ac000)
     10        libutil.so.1 => /lib/i386-linux-gnu/libutil.so.1 (0xb73a8000)
     11        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7365000)
     12        /lib/ld-linux.so.2 (0xb778c000)
     13}}}
     14Some dynamic linking expert is needed here.
    215
    316Running Python with `LD_PRELOAD="$SAGE_LOCAL/lib/libncurses.so"` solves the problem.