linux - can not yum package , it pops strang error -


i use centos 6.5 server , openldap installed in server .

i want install vsftpd server following command , pops error .

yum install vsftpd

there problem importing 1 of python modules required run yum. error leading problem was:   libldap-2.4.so.2: cannot open shared object file: no such file or directory  please install package provides module, or verify module installed correctly.  it's possible above module doesn't match current version of python, is: 2.6.6 (r266:84292, nov 22 2013, 12:11:10) [gcc 4.4.7 20120313 (red hat 4.4.7-4)]  if cannot solve problem yourself, please go yum faq at:   http://yum.baseurl.org/wiki/faq 

i checked , openldap installed .

rpm -qa |grep openldap

openldap-2.4.39-8.el6.i686 

would advise why pops error seems related libldap-2.4.so.2 ? openldap have problem ?

thanks

basically,

yum provides libldap-2.4.so.2 

then install reccomends e.g.

[user@localhost ~]$ yum provides libldap-2.4.so.2 loaded plugins: fastestmirror, langpacks      ....  openldap-2.4.40-8.el7.i686 : ldap support libraries repo        : base matched from: provides    : libldap-2.4.so.2 

so run

yum install openldap-2.4 

if it's not found may need epel or other repo. (i have repos: base, epel, extras, nux-dextop , updates , found)


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -