./curl -V showing fatal: libldap.so.5: open failed: No such file or directory


 
Thread Tools Search this Thread
Operating Systems Solaris ./curl -V showing fatal: libldap.so.5: open failed: No such file or directory
# 1  
Old 08-05-2013
./curl -V showing fatal: libldap.so.5: open failed: No such file or directory

Hi Guys,

I am facing this Error

Code:
bash-2.03$ ./curl -V
ld.so.1: curl: fatal: libldap.so.5: open failed: No such file or directory
Killed
bash-2.03$

while executing

./curl -V in /opt/sfw/bin directory.

I am using Sun Solaris 10.

which package upgrage can give me this missing file?SmilieSmilieSmilie

Please guide me.

Thanks in Advance.
# 2  
Old 08-05-2013
Try:
Code:
pkgchk -l -P libldap

This User Gave Thanks to bartus11 For This Post:
# 3  
Old 08-05-2013
Quote:
Originally Posted by bartus11
Try:
Code:
pkgchk -l -P libldap

I have only this commands available in os
Code:
bash-2.03$ /usr/local/bin/sudo /usr/bin/pkg
pkginfo   pkgmk     pkgparam  pkgproto  pkgtrans

# 4  
Old 08-05-2013
So ask your system administrator to run it for you. Another approach to find this library (if it is installed) is to run:
Code:
find / -type f -name "libldap*"

It will take some time to complete though.
This User Gave Thanks to bartus11 For This Post:
# 5  
Old 08-06-2013
Quote:
Originally Posted by bartus11
So ask your system administrator to run it for you. Another approach to find this library (if it is installed) is to run:
Code:
find / -type f -name "libldap*"

It will take some time to complete though.
I have done this too.

I could not find it.
# 6  
Old 08-06-2013
I just checked on a Solaris 10 system and that library is installed as part of the SUNWcsl in /usr/lib/libldap.so.5. Your system admin should take a look at this.
This User Gave Thanks to bartus11 For This Post:
# 7  
Old 08-06-2013
Quote:
Originally Posted by bartus11
I just checked on a Solaris 10 system and that library is installed as part of the SUNWcsl in /usr/lib/libldap.so.5. Your system admin should take a look at this.
Sorry:
Update :
It is Solaris 8 OS , 64 bit sparc.

Can anyone please tell me which pachakge contains this "libldap.so.5" file?

I really want to solve this.
Edit:-
Yes, I checked SUNWcsl package on required system it is
Code:
bash-2.03$ /usr/local/bin/sudo /usr/bin/pkginfo | grep SUNWcsl
Password:
system      SUNWcsl              Core Solaris, (Shared Libs)
system      SUNWcslx             Core Solaris Libraries (64-bit)
bash-2.03$ /usr/local/bin/sudo /usr/bin/pkginfo -l  SUNWcsl
   PKGINST:  SUNWcsl
      NAME:  Core Solaris, (Shared Libs)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.8.0,REV=2000.01.08.18.12
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  core shared libraries for a specific instruction-set architecture
    PSTAMP:  on28-patch20070823120115
  INSTDATE:  May 17 2008 19:49
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:      251 installed pathnames
                  14 shared pathnames
                  14 directories
                 117 executables
               21835 blocks used (approx)
bash-2.03$

and on the other system where it is working proerly is;-
Code:
-bash-3.2$  /usr/local/bin/sudo /usr/bin/pkginfo | grep SUNWcsl
Password:
system      SUNWcsl                          Core Solaris, (Shared Libs)
system      SUNWcslr                         Core Solaris Libraries (Root)
-bash-3.2$  /usr/local/bin/sudo /usr/bin/pkginfo -l SUNWcsl
   PKGINST:  SUNWcsl
      NAME:  Core Solaris, (Shared Libs)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10.0,REV=2005.01.21.15.53
   BASEDIR:  /
    VENDOR:  Oracle Corporation
      DESC:  core shared libraries for a specific instruction-set architecture
    PSTAMP:  on10ptchfeat20110620074841
  INSTDATE:  Apr 02 2013 17:24
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:      658 installed pathnames
                  25 shared pathnames
                  41 directories
                 210 executables
               32288 blocks used (approx)
-bash-3.2$

I feel I need to update from 11.8.0 to 11.10.0, but will it solve my problem.

Where can I get this package 11.10.0 SUNWcsl ?
How to check whether the missing file libldap.so.5 is part of this package?

Please advice.

Last edited by manalisharmabe; 08-06-2013 at 12:19 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Unable to open input kickstart file curl#37

Hi, Getting the below error while installing from ks.cfg unable to open input kickstart file curl#37 Couldn't open file /tmp/swappart Here am trying to include /tmp/swappart file from pre section under disks and partition section. Dont know where exactly am doing wrong My kickstart file... (3 Replies)
Discussion started by: Sumanthsv
3 Replies

2. What is on Your Mind?

PHP Fatal Errors During SSL Cert Management - PHP Fatal error: xc_fcntl_mutex failed

Today, I noticed some errors in our SSL cert renewal log files, mostly related to domains where the IP address had changed. Concerned about this, rebuilt out SSL cert, which normally goes well without a hiccup. However, for today, for some reason which I cannot explain, there was a PHP error... (0 Replies)
Discussion started by: Neo
0 Replies

3. Shell Programming and Scripting

Linux open failed: No such file or directory error

Hi, The below commands works fine on serverB . /etc/profile; cd /export/home/user2/utils/plugin/ ./runme.shHowever, when i run the same commands from serverA it fails $ ssh -q user2@serverB ". /etc/profile; cd /export/home/user2/utils/plugin; ./runme.sh"Output Error: Please find the below... (8 Replies)
Discussion started by: mohtashims
8 Replies

4. Programming

Fatal error: mcrypt.h: No such file or directory

Hi All, I am trying to include a mcrypt.h header but I am getting the below error: test01> gcc test1.c test1.c:5:20: fatal error: mcrypt.h: No such file or directory #include <mcrypt.h> ^ compilation terminated. As I cannot put my encryption program here, so have... (4 Replies)
Discussion started by: Shre
4 Replies

5. UNIX for Advanced & Expert Users

Curl: fatal: libcrypto.so.1.0.0

Hi, I've installed curl with all despondency but when I try to start it I get: root@xxx> curl ld.so.1: curl: fatal: libcrypto.so.1.0.0: open failed: No such file or directory Killed Looks like I have to change/make symlinks but I don't know how/where. Any idia? ---------- Post... (3 Replies)
Discussion started by: mehrdad68
3 Replies

6. Solaris

fatal error: stdio.h: No such file or directory

Trying to compile a C program recievin this hello.c:1:19: fatal error: stdio.h: No such file or directory gcc is installed on the system. echo $PATH /usr/bin:/usr/sbin:/usr/gcc/4.5/include/c++/4.5.2/tr1 root@Sol11swtb01:/media/NO NAME/Programming/C/Testing# cd... (2 Replies)
Discussion started by: Fingerz
2 Replies

7. Shell Programming and Scripting

fatal: cannot open file `TNAME' for reading (No such file or directory)

Hi, I am running this command through a shell script and getting the error mentioned in the subject line: testing.awk -f x.txt TNAME My testing.awk file contains something like ++++++++++++++++++ #!/usr/bin/awk -f BEGIN{ TAB_NAME="INSERT_ONE_" ARGV ; } if ( $1=="JAM_ONE" &&... (1 Reply)
Discussion started by: kunwar
1 Replies

8. Solaris

Cygwin X Server error: xdmcp fatal error session failed session 23 failed for display

Hi, i got the following error when i tried to access the cygwin x server from a windows XP PC. "xdmcp fatal error session failed session 23 failed for display" Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies

9. Solaris

Error- ld.so.1: expr: fatal: libgmp.so.3: open failed:No such file or directory

Hi Friends I have a compiler(Sun Forte,I believe) running in my Solaris 9 box. since y'day my development team is finding this error when they compile: ld.so.1: expr: fatal: libgmp.so.3: open failed: No such file or directory I ran a search for this file and found it in one of my file... (2 Replies)
Discussion started by: Hari_Ganesh
2 Replies

10. UNIX for Advanced & Expert Users

fuser not showing file open by vi

hi, I opened a simple text file by vi. I then started another shell, and did fuser myFile. I expected it to show the pid of the vi session that had that file open, but it just returned a blank. why would this be? thanks (4 Replies)
Discussion started by: JamesByars
4 Replies
Login or Register to Ask a Question