Re: OpenSSL and Python

2010-04-21 Thread gary clark

Appreciated.
Garyc

--- On Wed, 4/21/10, Antoine Pitrou  wrote:

> From: Antoine Pitrou 
> Subject: Re: OpenSSL and Python
> To: openssl-users@openssl.org
> Date: Wednesday, April 21, 2010, 6:39 PM
> Le mercredi 21 avril 2010 à 16:06
> -0700, gary clark a écrit :
> > ImportError:
> /usr/local/lib/python2.5/site-packages/OpenSSL/crypto.so:
> > undefined symbol: PyUnicodeUCS2_Decode
> 
> This is a Python problem, not an unicode one. I suggest
> posting on
> comp.lang.python.
> Basically, you should use the pyOpenSSL package provided by
> your Linux
> distribution, or compile it from the source; but not
> install a
> standalone binary package.
> 
> 
> __
> OpenSSL Project           
>                
>      http://www.openssl.org
> User Support Mailing List         
>           openssl-users@openssl.org
> Automated List Manager         
>              
>    majord...@openssl.org
>

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Re: OpenSSL and Python

2010-04-21 Thread Antoine Pitrou
Le mercredi 21 avril 2010 à 16:06 -0700, gary clark a écrit :
> ImportError: /usr/local/lib/python2.5/site-packages/OpenSSL/crypto.so:
> undefined symbol: PyUnicodeUCS2_Decode

This is a Python problem, not an unicode one. I suggest posting on
comp.lang.python.
Basically, you should use the pyOpenSSL package provided by your Linux
distribution, or compile it from the source; but not install a
standalone binary package.


__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


OpenSSL and Python

2010-04-21 Thread gary clark
Hello,

I am porting my code to a new server.

I have installed Python 2.5.2 working on a linux box. The problem is
I need to know what version of pyOpenSSL and OpenSSL libs are compatible with
this version of linux.

I'm seeing the below:

python 
Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) 
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenSSL
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/local/lib/python2.5/site-packages/OpenSSL/__init__.py", line 11, 
in 
import rand, crypto, SSL, tsafe
ImportError: /usr/local/lib/python2.5/site-packages/OpenSSL/crypto.so: 
undefined symbol: PyUnicodeUCS2_Decode

Anybody know what the workaround is here?

Thanks,
Garyc

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org