On 2012-11-03, at 2:58 AM, 水静流深 wrote:
i have install pyOpenSSL-0.11 in python2.7 this way:
download pyOpenSSL-0.11.tar.gz
#tar -zvxf pyOpenSSL-0.11.tar.gz
#cd pyOpenSSL-0.11
#python setup.py install
>>> import OpenSSL
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/__init__.py",
line 45, in <module>
from OpenSSL import rand, SSL
ImportError: /usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.so:
undefined symbol: SSLv2_method
how can i fix the problem?
ImportError: /usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.so:
undefined symbol: SSLv2_method
--
http://mail.python.org/mailman/listinfo/python-list
The pyOpenSSL home page at https://launchpad.net/pyopenssl says that
the latest
version is 0.11, but that is not true.
The latest version is 0.13. You can get it on PyPI here
http://pypi.python.org/pypi/pyOpenSSL
SSLv2 is no longer supported in OpenSSL, and version 0.13 no longer
expects it.
- John
--
http://mail.python.org/mailman/listinfo/python-list