标签:git undefined reference send CentOS7 rpm imap 2.24
本来想使用tar包进行安装 但是发现tar包安装时总是报错如下:
[root@centos76 git-2.25.0]# make LINK git-imap-send imap-send.o: In function `sk_GENERAL_NAME_num': /usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_num' imap-send.o: In function `sk_GENERAL_NAME_value': /usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_value' imap-send.o: In function `sk_GENERAL_NAME_pop_free': /usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free' /usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free' imap-send.o: In function `ssl_socket_connect': /tfsagent/git-2.25.0/imap-send.c:287: undefined reference to `OPENSSL_init_ssl' /tfsagent/git-2.25.0/imap-send.c:288: undefined reference to `OPENSSL_init_ssl' /tfsagent/git-2.25.0/imap-send.c:290: undefined reference to `TLS_method' /tfsagent/git-2.25.0/imap-send.c:303: undefined reference to `SSL_CTX_set_options' collect2: error: ld returned 1 exit status make: *** [git-imap-send] Error 1
按照segmentfault上面的方法我下载使用 openssl1.1.1b 都不行 还是这个错误.最后没办法 我从网上找rpm包进行安装
关键字
git rpm
查到解决方案如下:
注意安装2.24版本之前先 删除旧版本:
yum remove git
网站信息如下:
https://centos.pkgs.org/7/endpoint-x86_64/git-core-2.24.1-1.ep7.x86_64.rpm.html
Install Howto Download latest endpoint-release rpm from https://packages.endpoint.com/rhel/7/os/x86_64/ Install endpoint-release rpm: # rpm -Uvh endpoint-release*rpm Install git-core rpm package: # yum install git-core
用这个方式就能够升级了 版本情况如下:
[root@centos76 myagent]# git version git version 2.24.1
标签:git,undefined,reference,send,CentOS7,rpm,imap,2.24 来源: https://www.cnblogs.com/jinanxiaolaohu/p/12269287.html
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。