从fc17转到fc18时EVP_aes_128_ctr问题

时间:2013-10-09 14:31:05

标签: linux openssl pyinstaller

在fc17中,openssl版本为1.0.0k,而在fc18中,openssl版本为1.0.1e

在下面的link中,我们可以看到此符号已添加到1.0.1但我无法理解如何修复这些错误

There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:
/lib/libssh2.so.1: symbol EVP_aes_128_ctr, version libcrypto.so.10 not defined in file libcrypto.so.10 with link time reference

git-remote-https: /tmp/_MEIo4w334/libcrypto.so.10: no version information available (required by /lib/libssh2.so.1)
git-remote-https: relocation error: /lib/libssh2.so.1: symbol EVP_aes_128_ctr, version libcrypto.so.10 not defined in file libcrypto.so.10 with link time reference

知道什么是错的或如何解决?

1 个答案:

答案 0 :(得分:0)

问题在于pyinstaller。从cli运行时,yumgit命令可以正常工作。这些命令是由pyinstaller从python脚本创建的二进制文件调用的。当我直接使用脚本时,它工作正常,因此问题是pyinstaller。

编辑:

事实上,问题甚至不是pyinstaller,而是包装。我在fc17上使用pyinstaller创建了二进制文件,并在fc18上使用了二进制文件,这是上述问题的根本原因。如果我在fc18上构建二进制文件,我可以在fc18上运行它没有任何问题。