[Twisted-Python] python and twisted and openssl

gary clark burslem2001 at yahoo.com
Wed Apr 21 20:22:31 EDT 2010

Much appreciated Glyph. I thought it would be a common problem.
Just didnt know which group to ask.

--- On Wed, 4/21/10, Glyph Lefkowitz <glyph at twistedmatrix.com> wrote:

> From: Glyph Lefkowitz <glyph at twistedmatrix.com>
> Subject: Re: [Twisted-Python] python and twisted and openssl
> To: "Twisted general discussion" <twisted-python at twistedmatrix.com>
> Date: Wednesday, April 21, 2010, 7:13 PM
> On Apr 21, 2010, at 2:47 PM, gary clark wrote:
> > undefined symbol: PyUnicodeUCS2_Decode
> > What is this PyUnicodeUCS2_Decode? Has anybody else
> seen this blighter?
> When you build Python, you either build its Unicode support
> with support for UCS2 (2-byte, 16-bit code points) or UCS4
> (4-byte, 32-bit code points).  Extension modules must
> be built in the same configuration as the Python interpreter
> in order to be loaded and dynamically linked correctly,
> since UCS4 python is missing the UCS2 symbols and vice
> versa.
> It looks like you have a UCS4 python and a UCS2
> PyOpenSSL.  You need to re-build PyOpenSSL against the
> Python installation that you are using, or at least one
> built with the same options.
> This is a pretty common build problem; if you search for
> mailing list threads about it on python-list or python-dev
> you should find plenty.
> Good luck,
> -glyph
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

More information about the Twisted-Python mailing list