[SOLVED] ./curl -V showing fatal: libldap.so.5: open failed: No such file or directory
Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
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.
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.
./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.
Actually while executing the Sun Explorer Version to 8.0 , I am facing below error as missing file.
Code:
bash-2.03$ /usr/local/bin/sudo /opt/SUNWexplo/bin/explorer -P -q
Password:
Because the -SR command line option was not used, it is necessary to ask
the following question. A response is expected within 40 seconds. Otherwise,
Explorer assumes a negative answer.
Is this Explorer run associated with a Service Request (y/n)?
[n]: n
Aug 05 17:13:31 amslvsfep01[11578] explorer: ERROR EXPL-15305: Failed HTTPS transfer to https://supportfiles.sun.com/curl (exit code: 137)
Aug 05 17:13:31 amslvsfep01[11578] explorer: ERROR EXPL-15306: Error output from curl:
Aug 05 17:13:31 amslvsfep01[11578] explorer: ERROR ld.so.1: curl: fatal: libldap.so.5: open failed: No such file or directory
Aug 05 17:14:31 amslvsfep01[11578] explorer: ERROR EXPL-15305: Failed HTTPS transfer to https://supportfiles.sun.com/curl (exit code: 137)
Aug 05 17:14:31 amslvsfep01[11578] explorer: ERROR EXPL-15306: Error output from curl:
Aug 05 17:14:31 amslvsfep01[11578] explorer: ERROR ld.so.1: curl: fatal: libldap.so.5: open failed: No such file or directory
Aug 05 17:15:31 amslvsfep01[11578] explorer: ERROR EXPL-15305: Failed HTTPS transfer to https://supportfiles.sun.com/curl (exit code: 137)
Aug 05 17:15:31 amslvsfep01[11578] explorer: ERROR EXPL-15306: Error output from curl:
Aug 05 17:15:31 amslvsfep01[11578] explorer: ERROR ld.so.1: curl: fatal: libldap.so.5: open failed: No such file or directory
which package upgrade can give me this missing file?
Please guide me.
Thanks in Advance.
Last edited by manalisharmabe; 08-05-2013 at 10:17 AM.
Can anyone please tell me which pachakge contains this "libldap.so.5" file?
I really want to solve this.
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. /
Please advice.
Last edited by manalisharmabe; 08-06-2013 at 10:14 AM.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by manalisharmabe
Why the same package is mentioned twice while installing with pkgadd - d command ?
It is not mentioned twice. There are two different packages to install according to this documentation. If you only installed one of them, that might explain the issue.
Hi,
Installed two packages:- TWWcurl715dTWWcurl715m
without any problem.
But when I installed this package TWWcurl715u
It asked mefor below files.
Code:
## Verifying package dependencies.
WARNING:
The <TWWlibgnutls12u> package "GNU TLS/SSL library
(gnutls), (Usr)" is a prerequisite package and should
be installed. Allowable instances include (in order of
preference:)
(sparc) 1.2.9,REV=1
WARNING:
The <TWWlibidn05u> package "Internationalized domain
name library, (Usr)" is a prerequisite package and
should be installed. Allowable instances include (in
order of preference:)
(sparc) 0.5.20,REV=1
WARNING:
The <TWWzlb11u> package "ZLIB Compression Library,
(Usr)" is a prerequisite package and should be
installed. Allowable instances include (in order of
preference:)
(sparc) 1.1.4,REV=1
Do you want to continue with the installation of <TWWcurl715u> [y,n,?] y
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <TWWcurl715u> [y,n,?] y
Installing cURL URL grabber, (Usr) as <TWWcurl715u>
## Installing part 1 of 1.
2671 blocks
## Executing postinstall script.
TWWcurl715u: (info) Building list of symbolic links and wrappers for
TWWcurl715u: (info) TWWcurl715u (this might take awhile)
usage:
pkgchk [-l|vqacnxf] [-R rootdir] [-p path[, ...]]
[-i file] [options]
pkgchk -d device [-f][-l|v] [-p path[, ...]] [-V ...] [-M] [-i file] [-Y category[, ...] | pkginst [...]]
where options may include ONE of the following:
-m pkgmap [-e envfile]
pkginst [...]
-Y category[, ...]
TWWcurl715u: (info) Creating directory /opt/TWWfsw/bin
TWWcurl715u: (info) Linking /opt/TWWfsw/bin/curl to
TWWcurl715u: (info) /opt/TWWfsw/curl715/bin/curl
TWWcurl715u: (info) Linking /opt/TWWfsw/bin/curl-config to
TWWcurl715u: (info) /opt/TWWfsw/curl715/bin/curl-config
Installation of <TWWcurl715u> was successful.bash-2.03$
Code:
bash-2.03$ /usr/local/bin/sudo /opt/SUNWexplo/bin/explorer -P -q
Because the -SR command line option was not used, it is necessary to ask
the following question. A response is expected within 40 seconds. Otherwise,
Explorer assumes a negative answer.
Is this Explorer run associated with a Service Request (y/n)?
[n]: n
Aug 07 15:58:33 amslvsfep01[6220] explorer: FATAL EXPL-15304: Missing curl binarybash-2.03$
However when I did run SunExplorer 8.0 it showed me above highlighted message, but the required file
"explorer.833f16a7.amslvsfep01-2013.08.07.13.55.tar.gz" was created, I need to find it out tomorrow whether it is enough as I will get Explorer mail tomorrow.
Can you please suggest me now which preequisits package I ned to install now ????
Last edited by manalisharmabe; 08-07-2013 at 09:39 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.