iRay 发表于 2017-7-27 13:02:10

yum报错!!/usr/lib64/libcurl.so.4: undefined symbol: ldap_init_fd

# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   /usr/lib64/libcurl.so.4: undefined symbol: ldap_init_fd

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Aug 18 2016, 15:13:37)


If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq

请大神指点!

Krant5 发表于 2017-7-27 15:44:30

可能是PYTHON版本不对?

凯静云霄 发表于 2017-7-28 10:36:44

你的yum源怎么去写的?

Rain-Jin 发表于 2017-7-29 08:51:15

英文说你添加的组建于你的pyhton版本不兼容

qwe8258@qq.com 发表于 2017-7-30 23:19:14

一般centos yum 都是用python2.6版本的。如果你自己装了2.7或者3版本的。会导致yum报错。
页: [1]
查看完整版本: yum报错!!/usr/lib64/libcurl.so.4: undefined symbol: ldap_init_fd