level 5
软香科技
楼主
我是从原来的magiclinux64 3.0p2一路升级上来的。到目前为止,有一个软件不能升级,就是Python。
一旦升级到仓库中的最新版本 python.x86_64 2.7.8-5_Oso,就会在运行mercurial访问bitbucket仓库时出现"python ssl support not found"的错误。
在命令行运行python,再 import ssl的话,也会报告错误:
bash-4.3# python
Python 2.7.8 (default, Aug 21 2014, 09:16:05)
[GCC 4.8.3 20140624 (Oso 4.8.3-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/ssl.py", line 97, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: /usr/lib64/python2.7/lib-dynload/_ssl.so: symbol EC_KEY_free, version libcrypto.so.10 not defined in file libcrypto.so.10 with link time reference
所以每次我一时冲动升级了python之后,马上又要倒回到原来的版本 python-2.7.7-2mgc30.x86_64.rpm 。用这个版本就是正常的。
不知是什么原因,只能靠haulm哥哥来解决了。
2014年11月30日 08点11分
1
一旦升级到仓库中的最新版本 python.x86_64 2.7.8-5_Oso,就会在运行mercurial访问bitbucket仓库时出现"python ssl support not found"的错误。
在命令行运行python,再 import ssl的话,也会报告错误:
bash-4.3# python
Python 2.7.8 (default, Aug 21 2014, 09:16:05)
[GCC 4.8.3 20140624 (Oso 4.8.3-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/ssl.py", line 97, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: /usr/lib64/python2.7/lib-dynload/_ssl.so: symbol EC_KEY_free, version libcrypto.so.10 not defined in file libcrypto.so.10 with link time reference
所以每次我一时冲动升级了python之后,马上又要倒回到原来的版本 python-2.7.7-2mgc30.x86_64.rpm 。用这个版本就是正常的。
不知是什么原因,只能靠haulm哥哥来解决了。