问题如下

    core/subscription.o: In function `uwsgi_remove_subscribe_node':subscription.c:(.text+0x942): undefined reference to `EVP_MD_CTX_free'subscription.c:(.text+0x991): undefined reference to `EVP_MD_CTX_free'core/subscription.o: In function `subscription_new_sign_ctx':subscription.c:(.text+0x13c5): undefined reference to `EVP_MD_CTX_new'subscription.c:(.text+0x1456): undefined reference to `EVP_MD_CTX_free'core/ssl.o: In function `uwsgi_ssl_init':ssl.c:(.text+0xa9): undefined reference to `OPENSSL_init_ssl'ssl.c:(.text+0xb5): undefined reference to `OPENSSL_init_ssl'ssl.c:(.text+0xc1): undefined reference to `OPENSSL_init_crypto'core/ssl.o: In function `uwsgi_ssl_new_server_context':ssl.c:(.text+0x200): undefined reference to `TLS_server_method'ssl.c:(.text+0x2e5): undefined reference to `SSL_CTX_set_options'ssl.c:(.text+0x321): undefined reference to `SSL_CTX_set_options'ssl.c:(.text+0x53e): undefined reference to `SSL_CTX_set_options'core/ssl.o: In function `uwsgi_rsa_sign':ssl.c:(.text+0x7ac): undefined reference to `EVP_MD_CTX_new'ssl.c:(.text+0x832): undefined reference to `EVP_MD_CTX_free'ssl.c:(.text+0x955): undefined reference to `EVP_MD_CTX_free'core/ssl.o: In function `uwsgi_sni_cb':ssl.c:(.text+0xe1b): undefined reference to `SSL_CTX_get_options'ssl.c:(.text+0xe26): undefined reference to `SSL_set_options'collect2: error: ld returned 1 exit status*** error linking uWSGI ***----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python3.7 -u tokenize; sys.argv[0] = '"'"'/tmp/pip-install-jx63zvlz/uwsgi/setup.py'"'"';all-jx63zvlz/uwsgi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(ace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"cord /tmp/pip-record-uzoxgmp4/install-record.txt --single-version-externalle logs for full command output.

上面还省略了很长一段,在此之前我已经安装了openssl-devel, 在此之前有在别地方看到说通过anaconda安装uwsgi,因为不想去再安装anaconda就没有尝试这个方式: https://github.com/unbit/uwsgi/issues/1516

github上的解决方案2:https://github.com/unbit/uwsgi/issues/1516

我的问题以及解决方法:

卸载openssl-devel

我的问题是之前通过yum安装了openssl-devel,但是使用pip命令时还是出现ssl报错,因为pip命令用不了,所以又通过源码编译安装了新的OpenSSL(OpenSSL 1.1.1a),但是忘记卸载了yum安装的OpenSSL(openssl-devel-1.0.2),估计是这两个冲突了,卸载yum安装的OpenSSL后就好了,白忙活了好一阵


卸载OpenSSL      yum remove openssl-devel

查看OpenSSL版本    openssl version

Centos7安装uwsgi出现关于SSL错误的问题相关推荐

  1. Centos7 安装 OpenStack 遇到过的错误

    以下是本人在Centos7 安装 OpenStack 遇到过的错误记录 ERROR : Error appeared during Puppet run: 192.168.0.153_compute. ...

  2. pip安装第三方包出现ssl错误的解决方法

    我的情况是这样的 centos7系统,内置python2.7,python3.4,(后来加上自己又安装了一个python3.6) pip安装第三方包时,用pip2可以安装,没有报错. pip3安装会报 ...

  3. centos7 安装 nginx(https) 及403错误解决方法

    1.检查并安装所需的依赖软件 1).gcc:nginx编译依赖gcc环境 安装命令:yum install gcc-c++ 2).pcre:(Perl Compatible Regular Expre ...

  4. centos7安装uwsgi报错_如何将CentOS 7升级到CentOS 8

    在本文中,您将学习如何将CentOS 7升级到CentOS 8.本文描述的步骤尚未描述正式升级,因此不能应用于生产服务器. ​ Upgrade-CentOS-7-to-CentOS-8 步骤1:安装E ...

  5. centos7安装mysql缺失依赖_CentOS7安装mysql5.7不成功,解决依赖包之后还是无法安装成功...

    [root@xg79 ~]# yum -y installmysql-community-server ............. Error: Package:mysql-community-ser ...

  6. Centos7.0安装 Lets encrypt 的SSL证书

    Centos7.0安装 Lets encrypt 的SSL证书 本文链接:https://blog.csdn.net/yangshuai518/article/details/99951202 1.安 ...

  7. 【原】python3.7 无法pip安装提示ssl错误解决方案

    [原]python3.7 无法pip安装提示ssl错误解决方案 参考文章: (1)[原]python3.7 无法pip安装提示ssl错误解决方案 (2)https://www.cnblogs.com/ ...

  8. 【Python】CentOs7 Python3安装Openssl以及解决ssl问题

    [Python]CentOs7 Python3安装Openssl以及解决ssl问题 参考文章: (1)[Python]CentOs7 Python3安装Openssl以及解决ssl问题 (2)http ...

  9. Citrix Receiver for Linux安装和cert证书添加解决SSL错误

    Citrix Receiver for Linux安装 根据官方的建议,使用 Citrix Workspace app 代替 Citrix Receiver ,前者完全兼容后者. 安装官方教程:(下载 ...

最新文章

  1. Faster_RCNN 4.训练模型
  2. linux——grep 文本过滤器
  3. cas 单点登录_47 使用cas完成单点登录-02 搭建cas client完成单点登录
  4. 漂亮的链接悬停提示效果
  5. lstrip在python中是什么意思_什么是一目均衡图?如何利用一目均衡图来做交易?...
  6. Ruby,Python和Java中的Web服务
  7. SQL SERVER自定义函数
  8. AI 芯片为何遭遇滑铁卢?
  9. 获取客户端用户真实 IP 地址
  10. 发起成立“ABCD联盟”,人工智能与区块链技术研讨会北京站精彩回顾
  11. 单元测试工具Numega BoundsChecker
  12. 台达DVP PLC与西门子V20变频器通讯案例台达PLC西门子变频器通讯
  13. 松翰单片机数码管c语言,松翰单片机数码管程序
  14. 翟菜花:从美团配送新品牌发布,看即时配送行业奇点何时到来
  15. vue3 + router-view + keepalive parentComponent.ctx.deactivate is not a function
  16. 【台州世通兰陵王系列】服务器的1U、2U、4U是指什么?
  17. Redis持久化数据之RDB和AOF
  18. 【转】Java技能清单
  19. Kali下卸载程序和安装程序的方法
  20. 微信如何通过ip访问服务器项目,vue2.0 在微信端如何使用本地IP访问项目

热门文章

  1. Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
  2. 编程珠玑--粗略估算
  3. IDEA——问题汇总
  4. [生存志] 第138节 说苑列女事追前朝
  5. unity (初学者的个人问题)
  6. 腾讯课堂课程汇总 CourseList(1000000-1001000)
  7. excel中录制宏只执行一半的命令,没有执行全部如何解决?
  8. [CISCN]2020
  9. 中级微观经济学:Chap 32 交换
  10. android listview 上拉图片闪烁,android listview使用glide异步加载图片错位,闪烁问题...