LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-02-2010, 08:32 PM   #1
fuhrermasai
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
libldap.so.2 cannot open shared object file- No such file or directory


I'm running
Linux lnx3-228 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
red hat linux.


When I try to install ctags for vim editor, it gives me the following error.

error while loading shared libraries: libldap.so.2: cannot open shared object file: No such file or directory

When I look into the /usr/lib folder, the file is naturally missing. I have this file.

[~/]@lnx3-228 [389]-> ls -al /usr/lib/libldap.so*
lrwxrwxrwx 1 root root 21 Nov 11 09:46 /usr/lib/libldap.so -> libldap-2.3.so.0.2.31


When I tried to rename the soft link to libldap.so.2 it gave me a segmentation fault.

Where do I install the packages from ?

Thanks,
Suhas.
 
Old 12-02-2010, 08:48 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
How are you installing things ? ... if you used yum then the dependencies would have been installed as well
 
Old 12-02-2010, 08:57 PM   #3
fuhrermasai
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Original Poster
Rep: Reputation: 0
I am using my company's computer. I dint install anything. I just requested and got sudo permissions. What do I need to install ?

I have yum and rpm package managers.
 
Old 12-03-2010, 12:41 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,260

Rep: Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660
"libldap.so.2" is from an ancient openldap package. EL 3 ?

There is a compat package for CentOS 4 ( EL4 )
compat-openldap-2.1.30-12.el4

You can find it at http://rpm.pbone.net/
or http://mirror.centos.org/centos/4.8/os/

http://mirror.centos.org/centos/4.8/...el4.x86_64.rpm
..

Last edited by knudfl; 12-03-2010 at 12:43 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
libpng12.so.0: cannot open shared object file: No such file or directory MTK358 Linux - Newbie 12 02-15-2010 02:52 PM
Apache - cannot open shared object file: No such file or directory Braynid Linux - Software 6 03-26-2008 12:35 PM
libGL.so.1: cannot open shared object file: No Such file or directory Cinematography Linux - Hardware 1 10-22-2007 10:16 PM
cannot open shared object file: No such file or directory (0) SQLSTATE=00000?? suliman_shah Programming 3 08-23-2007 02:02 PM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 09:34 AM


All times are GMT -5. The time now is 02:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration