Greenplum源码编译安装ORCA握手失败解决 - Caused by SSLError(SSLError("bad handshake: ...)
2018-05-03 06:30
507 查看
场景:
Greenplum在Mac上源码编译安装的时候,首先需要安装ORCA,安装ORCA的过程中,报错了。
报错内容:
ChrisdeMacBook-Pro:depends chris$ make CONAN_USER_HOME=/Users/chris/git/gpdb/depends conan install --build=missing conanfile_orca.txt orca/v2.56.0@gpdb/stable: Not found in local cache, looking in remotes... orca/v2.56.0@gpdb/stable: Trying with 'conan-center'... From cffi callback : Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OpenSSL/SSL.py", line 313, in wrapper _lib.X509_up_ref(x509) AttributeError: 'module' object has no attribute 'X509_up_ref' ERROR: HTTPSConnectionPool(host='conan.bintray.com', port=443): Max retries exceeded with url: /v1/conans/orca/v2.56.0/gpdb/stable/download_urls (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),)) Unable to connect to conan-center=https://conan.bintray.com make: *** [orca] Error 1
报错原因:
复查前面的步骤,发现有一步python库冲突: pyopenssl 17.5.0 has requirement cryptography>=2.1.4, but you'll have cryptography 1.9 which is incompatible.
解决方法:
卸载冲突库后重新make编译即可。
ChrisdeMacBook-Pro:depends chris$ pip2 uninstall cryptography
Uninstalling cryptography-1.9:
Would remove:
/usr/local/lib/python2.7/site-packages/cryptography-1.9.dist-info/*
/usr/local/lib/python2.7/site-packages/cryptography/*
Proceed (y/n)? y
Successfully uninstalled cryptography-1.9
Greenplum在Mac上源码编译安装的时候,首先需要安装ORCA,安装ORCA的过程中,报错了。
报错内容:
ChrisdeMacBook-Pro:depends chris$ make CONAN_USER_HOME=/Users/chris/git/gpdb/depends conan install --build=missing conanfile_orca.txt orca/v2.56.0@gpdb/stable: Not found in local cache, looking in remotes... orca/v2.56.0@gpdb/stable: Trying with 'conan-center'... From cffi callback : Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OpenSSL/SSL.py", line 313, in wrapper _lib.X509_up_ref(x509) AttributeError: 'module' object has no attribute 'X509_up_ref' ERROR: HTTPSConnectionPool(host='conan.bintray.com', port=443): Max retries exceeded with url: /v1/conans/orca/v2.56.0/gpdb/stable/download_urls (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),)) Unable to connect to conan-center=https://conan.bintray.com make: *** [orca] Error 1
报错原因:
复查前面的步骤,发现有一步python库冲突: pyopenssl 17.5.0 has requirement cryptography>=2.1.4, but you'll have cryptography 1.9 which is incompatible.
解决方法:
卸载冲突库后重新make编译即可。
ChrisdeMacBook-Pro:depends chris$ pip2 uninstall cryptography
Uninstalling cryptography-1.9:
Would remove:
/usr/local/lib/python2.7/site-packages/cryptography-1.9.dist-info/*
/usr/local/lib/python2.7/site-packages/cryptography/*
Proceed (y/n)? y
Successfully uninstalled cryptography-1.9
相关文章推荐
- MyEclipse 8.6 出现"Caused by: java.lang.OutOfMemoryError: PermGen space"解决
- MySQL编译安装的CMake Error: The source directory "/root/mysql-5.6.10/-with-ssl" does not exist.
- apache源码编译安装时报错:configure: error: ...No recognized SSL/TLS toolkit detected
- MyEclipse 9 出现"Caused by: java.lang.OutOfMemoryError: PermGen space"解决
- Boost.python的源码编译安装(尝试解决Boost.Python.ArgumentError)
- LR回放https协议脚本失败:[GENERAL_MSG_CAT_SSL_ERROR]connect to host "XXX" failed:[10054] Connection reset by
- Tomcat 在配置完 SSL 后,IE 浏览器访问时Socket error caused by remote host异常错误信息的解决办法
- 通过mk文件编译android4.0.3系统app源码后覆盖安装失败解决办法(android odex文件)
- 通过mk文件编译android4.0.3系统app源码后覆盖安装失败解决办法(android odex文件)
- LR回放https协议脚本失败:[GENERAL_MSG_CAT_SSL_ERROR]connect to host "XXX" failed:[10054] Connection reset by
- 解决编译安装mariadb,make错误"make[1]: *** [unittest/mysys/CMakeFiles/aes-t.dir/all] Error 2"
- 异常:已引发: "已成功与服务器建立连接,但是在登录过程中发生错误。 (provider: SSL Provider, error: 31 - 加密(ssl/tls)握手失败) 已成功与服务器建立连接
- VC6.0 编译报错:"error C2220: warning treated as error - no 'object' file generated"的解决办法
- vc2005编译过程中"没有找到MFC80UD.DLL,因此这个程序未能启动.重新安装应用程序可能会修复此问题"? 的彻底解决
- CentOS-5.2上使用源码安装SystemTap-1.1遇到的问题(SEC_ERROR_PKCS11_GENERAL_ERROR)及解决办法
- 【转】C++编译过程中"没有找到MFC80UD.DLL,因此这个程序未能启动.重新安装应用程序可能会修复此问题"? 的彻底解决
- Eclipse中编译Android项目工程失败,提示: Error in an XML file: aborting build 解决办法
- 关于小红伞免费V9简体中文版、v10 出现“SSL"提示不能安装的解决方法
- 64位centos上nginx,php编译安装遇configure: error: Cannot find libmysqlclient under /usr 错误解决
- VM安装失败 “Failed to create the requested registry key Key:installer Error:1021"