大佬教程收集整理的这篇文章主要介绍了Centos进行yum报FatalPythonerror:pycurl: libcurl link-time version is older than compile-time version,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
在编译程序的过程中,由于相应环境的所需的动态库加载环境出了问题,我自己对动态库的环境进行了修改,在/etc/profile里的最后一行里加了这么几句话:
export LD_LIBRARY_PATH=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.el7_0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.el7_0.x86_64/jre/lib/amd64/server:/usr/local/VMProg/lib/vmware-vix-disklib/lib64:/lib64:${LD_LIBARY_PATH}
运行source /etc/profile,使环境生效。
但发现,执行yum命令,发现出错:
错误为:
FatalPythonerror:pycurl: libcurl link-time version is older than compile-time version
Aborted
经过查资料,发现问题可能是环境造成的;于是,在/etc/profile 加上这么几段话:
export LD_LIBRARY_PATH=/usr/lib64:/usr/lib:/usr/local/VMProg/lib:/usr/local/VMProg/lib/vmware-vix-disklib/lib64:/lib64:${LD_LIBARY_PATH}
然后,source /etc/profile,使环境生效。
执行yum安装,成功。
以上是大佬教程为你收集整理的Centos进行yum报FatalPythonerror:pycurl: libcurl link-time version is older than compile-time version全部内容,希望文章能够帮你解决Centos进行yum报FatalPythonerror:pycurl: libcurl link-time version is older than compile-time version所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。