[csw-users] python 2.6.1 now in testing

Maciej Bliziński maciej.blizinski at gmail.com
Thu Apr 2 10:10:48 CEST 2009


On Wed, Apr 1, 2009 at 10:47 PM, Mike Watters <mwatters at opencsw.org> wrote:
> Changes:
>
>        bug fix: 3510 'import curses' fails in current Python...
>                        forced curses to use the library in /opt/csw

There's still a problem with importing 'curses' module, even though
it's now linked against CSW ncurses library.

vsol01 ~ # pkgparam CSWpython VERSION
2.6.1,REV=2009.04.01
vsol01 ~ # ldd /opt/csw/lib/python2.6/lib-dynload/_cursesmodule.so
        libncurses.so.5 =>       /opt/csw/lib/libncurses.so.5
vsol01 ~ # python
Python 2.6.1 (r261:67515, Apr  1 2009, 16:27:46) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/csw/lib/python2.6/curses/__init__.py", line 15, in <module>
    from _curses import *
ImportError: ld.so.1: python: fatal: relocation error: file
/opt/csw/lib/python2.6/lib-dynload/_cursesmodule.so: symbol w32addch:
referenced symbol not found



More information about the users mailing list