[csw-maintainers] [csw-users] python 2.6.1 now in testing

Mike Watters mwatters at opencsw.org
Thu Apr 2 17:02:09 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maciej Bliziński wrote:
> 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
> _______________________________________________
> users mailing list
> users at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/users

ARRGGHHH!!

after a little more searching,
- -- wchgat symbol is in /opt/csw/lib/libncurses.so,
but the new w32addch is NOT.  It lives in /usr/lib/libcurses.so

I will try to get this sorted out in the next few days.

- --

Thanks,
Mike

"Any intelligent fool can make things bigger, more complex,
and more violent.  It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."

* Albert Einstein 1879 - 1955
    US German-born Theoretical Physicist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEUEARECAAYFAknU03EACgkQLrhmsXMSLxe0TwCgn2fxcYMglnjrJekijLE9wvsq
gJQAl1RD8FqBq/Hrk+U+Vrfx4nC9rv8=
=WDao
-----END PGP SIGNATURE-----



More information about the maintainers mailing list