Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-01-2015, 03:44 AM
|
#1
|
Member
Registered: Sep 2013
Posts: 321
Rep: 
|
Fail to yum package
I use Centos 6.5 server , openldap is installed in this server .
I just want to install vsftpd to this server by the following command , but it pops the error .
# yum install vsftpd
Code:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
libldap-2.4.so.2: cannot open shared object file: No such file or directory
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, Nov 22 2013, 12:11:10)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
I also checked , the openldap is installed .
#rpm -qa |grep openldap
Code:
openldap-2.4.39-8.el6.i686
Would advise why it pops the error that seems related to libldap-2.4.so.2 ? is my openldap have problem ?
Thanks
|
|
|
06-01-2015, 04:14 AM
|
#2
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,441
|
Did you check the provided link?
|
|
|
06-01-2015, 04:52 AM
|
#3
|
Member
Registered: Sep 2013
Posts: 321
Original Poster
Rep: 
|
yes , but it seems not related to my problem
|
|
|
06-01-2015, 09:53 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,717
|
Quote:
Originally Posted by byran cheung
I use Centos 6.5 server , openldap is installed in this server .
I just want to install vsftpd to this server by the following command , but it pops the error .
# yum install vsftpd
Code:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
libldap-2.4.so.2: cannot open shared object file: No such file or directory
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, Nov 22 2013, 12:11:10)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
I also checked , the openldap is installed .
#rpm -qa |grep openldap
Code:
openldap-2.4.39-8.el6.i686
Would advise why it pops the error that seems related to libldap-2.4.so.2 ? is my openldap have problem ?
|
Again, as you've been asked MANY times, PROVIDE DETAILS. This question goes nicely with your OTHER question about LDAP:
http://www.linuxquestions.org/questi...ap-4175543954/
...that you never followed up on, or even answered. Unless you're going to answer questions, there isn't much point in posting at all. Short answer: yes, you have an openLDAP problem. Whether that's because you haven't installed it correctly, configured it correctly, or for some other reason, we don't know, since you haven't provided ANY details that would let us determine this. Also, this goes back to the OTHER thread about VSFTPD:
http://www.linuxquestions.org/questi...pd-4175543581/
...which you didn't follow up on either. Unless you're going to participate in the conversation, there isn't much we can do to help you. Read the "Question Guidelines" link. Asking the same questions over and over, providing different answers to the same questions, and not showing any effort of your own isn't a good way to get help.
|
|
|
06-01-2015, 11:49 AM
|
#5
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,691
|
from the information provided in the first post
you WILL have problems
CentOS 6.5 is UNSUPPORTED!!!!!
please upgrade to the ONLY currently supported version of 6
CentOS 6.6
this error looks to be caused by incompatible repos
please provide the repo list
Code:
su -
yum repolist all
------- and provide the out put of this -----
cat /etc/redhat-release
|
|
|
06-01-2015, 07:29 PM
|
#6
|
Member
Registered: Sep 2013
Posts: 321
Original Poster
Rep: 
|
#cat /etc/redhat-release
Code:
CentOS release 6.5 (Final)
# yum repolist all
Code:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
libldap-2.4.so.2: wrong ELF class: ELFCLASS64
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, Nov 22 2013, 12:11:10)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
|
|
|
06-02-2015, 12:13 AM
|
#7
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,691
|
by chance did you try UPGRADING( replace) python ?
yum REQUIRES!!!!! the DEFAULT installed version and ONLY that version
it can not be replaced
you can install a second newer version of python in a "side by side" configuration
also with the ONLY supported version of 6 as 6.6 and you are on the old unsupported 6.5
there might be a mismatch from the third party repos and the installed ( and NOT!!! up to date ) software
check to see it "rpm" program is ALSO busted
"yum" is so....
Code:
su -
rpm -qa | grep release
if that dose not output the "centos-release-6-5.el6.centos.11.1.x86_64.rpm"
then it is busted also
|
|
|
All times are GMT -5. The time now is 03:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|