Curl: fatal: libcrypto.so.1.0.0


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Curl: fatal: libcrypto.so.1.0.0
# 1  
Old 02-13-2013
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 updated at 09:42 AM ---------- Previous update was at 09:27 AM ----------

Code:
PKGINST:  SMCcurl
      NAME:  curl
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  7.21.7
   BASEDIR:  /usr/local
    VENDOR:  The Curl Group
    PSTAMP:  Steve Christensen
  INSTDATE:  okt. 12 2011 18:52
     EMAIL:  steve@smc.vnet.net
    STATUS:  completely installed
     FILES:      383 installed pathnames
                   9 shared pathnames
                  15 directories
                   5 executables
                8440 blocks used (approx)


Last edited by jim mcnamara; 02-14-2013 at 08:44 AM..
# 2  
Old 02-13-2013
At compile time it was dynamically linked with libcrypto.so.1.0.0, so it needs it at run time.
Code:
fgrep libcrypto.so /var/sadm/install/contents

might only list older ones; then add the appropriate openssl package.
Test for all dynamically linked libraries with
Code:
ldd /path/to/curl

# 3  
Old 02-13-2013
Code:
root@myserver:/tmp> fgrep libcrypo.so /var/sadm/install
install/      install_data/
root@myserver:/tmp> fgrep libcrypo.so /var/sadm/install/contents
root@myserver:/tmp> fgrep libcrypo.so /var/sadm/install/
root@myserver:/tmp> fgrep libcrypto.so /var/sadm/install/contents
/usr/lib/AdobeReader/Adobe/Reader8/Reader/sparcsolaris/lib/libcrypto.so=libcrypto.so.0 s none SUNWacroread
/usr/lib/AdobeReader/Adobe/Reader8/Reader/sparcsolaris/lib/libcrypto.so.0=libcrypto.so.0.9.6 s none SUNWacroread
/usr/lib/AdobeReader/Adobe/Reader8/Reader/sparcsolaris/lib/libcrypto.so.0.9.6 f none 0755 root bin 1012040 20874 1243579950 SUNWacroread
/usr/local/ssl/lib/libcrypto.so=libcrypto.so.0 s none SMCossl SMCosslg
/usr/local/ssl/lib/libcrypto.so.0=libcrypto.so.0.9.7 s none SMCosslg
/usr/local/ssl/lib/libcrypto.so.0.9.7 f none 0555 root bin 1315928 12946 1115028878 SMCosslg
/usr/local/ssl/lib/libcrypto.so.0.9.8 f none 0555 bin bin 1584784 54159 1238376661 SMCossl
/usr/sfw/lib/libcrypto.so=./libcrypto.so.0.9.7 s none SUNWopenssl-libraries
/usr/sfw/lib/libcrypto.so.0.9.7 f none 0755 root bin 1452916 7293 1249689127 SUNWopenssl-libraries
/usr/sfw/lib/sparcv9/libcrypto.so=./libcrypto.so.0.9.7 s none SUNWopenssl-libraries
/usr/sfw/lib/sparcv9/libcrypto.so.0.9.7 f none 0755 root bin 1858112 45143 1249689127 SUNWopenssl-libraries
root@myserver:/tmp> ldd /usr/local/bin/curl
curl         curl-config
root@myserver:/tmp> ldd /usr/local/bin/curl
        libcurl.so.4 =>  /usr/local/lib/libcurl.so.4
        libidn.so.11 =>  /usr/local/lib/libidn.so.11
        libintl.so.8 =>  /usr/local/lib/libintl.so.8
        libsec.so.1 =>   /usr/lib/libsec.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libssh2.so.1 =>  /usr/local/lib/libssh2.so.1
        libssl.so.1.0.0 =>       /usr/local/ssl/lib/libssl.so.1.0.0
        libcrypto.so.1.0.0 =>    (file not found)
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        librt.so.1 =>    /usr/lib/librt.so.1
        libz.so =>       /usr/local/lib/libz.so
        libgcc_s.so.1 =>         /usr/sfw/lib/libgcc_s.so.1
        libidn.so.11 (LIBIDN_1.0) =>     (version not found)
        libcrypto.so.1.0.0 =>    (file not found)
        libavl.so.1 =>   /lib/libavl.so.1
        libcrypto.so.1.0.0 =>    (file not found)
        libcrypto.so.0.9.8 =>    /usr/local/ssl/lib/libcrypto.so.0.9.8
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libm.so.2 =>     /lib/libm.so.2
        /platform/SUNW,Sun-Blade-T6320/lib/libc_psr.so.1
        /platform/SUNW,Sun-Blade-T6320/lib/libmd_psr.so.1
root@myserver:/tmp>

# 4  
Old 02-14-2013
It looks better but what is this now???

Code:
root@myserver:/usr/local/lib> curl
ld.so.1: curl: fatal: libidn.so.11: version `LIBIDN_1.0' not found (required by file /usr/local/lib/libcurl.so.4)
ld.so.1: curl: fatal: libidn.so.11: open failed: No such file or directory
Killed
root@myserver:/usr/local/lib>

Code:
root@myserver:/usr/local/lib> ldd
root@myserver:/usr/local/lib> ldd /usr/local/bin/curl
        libcurl.so.4 =>  /usr/local/lib/libcurl.so.4
        libidn.so.11 =>  /usr/local/lib/libidn.so.11
        libintl.so.8 =>  /usr/local/lib/libintl.so.8
        libsec.so.1 =>   /usr/lib/libsec.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libssh2.so.1 =>  /usr/local/lib/libssh2.so.1
        libssl.so.1.0.0 =>       /usr/local/lib/libssl.so.1.0.0
        libcrypto.so.1.0.0 =>    /usr/local/lib/libcrypto.so.1.0.0
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        librt.so.1 =>    /usr/lib/librt.so.1
        libz.so =>       /usr/local/lib/libz.so
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        libidn.so.11 (LIBIDN_1.0) =>     (version not found)
        libavl.so.1 =>   /lib/libavl.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libm.so.2 =>     /lib/libm.so.2
        /platform/SUNW,Sun-Blade-T6320/lib/libc_psr.so.1
        /platform/SUNW,Sun-Blade-T6320/lib/libmd_psr.so.1
root@myserver:/usr/local/lib>

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. Solaris

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

Hi Guys, I am facing this Error 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... (9 Replies)
Discussion started by: manalisharmabe
9 Replies

3. Programming

Linking in OpenSSL libcrypto Statically

I have a C++ program which includes lots of libraries, including openssl libcrypto. In fact, the g++ switches are: -lxml2 -lcrypto -lcurl etc. The problem is that when I try to run it on a different flavor of Linux, it complains that it cannot load libcrypto.so.8. I did some research and... (20 Replies)
Discussion started by: BrandonShw
20 Replies

4. Solaris

libcrypto.so.0.9.7

Hi Can anyone tell me the use of libcrypto.so.0.9.7 ? I know it is used for SSH. Also is there a way to look into the content of these jars? Also is there a way to uncompress the same? i tried # uncompress libcrypto.so.0.9.7 libcrypto.so.0.9.7.Z: No such file or directory # jar xvf... (6 Replies)
Discussion started by: flinders1323
6 Replies

5. AIX

dbx fatal error

Background ------------- Os: IBM AIXL 5.1 (Unix) Problem ------------- I run the dbx in csh as follows % dbx mainprog -- The following is the systemm replay Type 'help' for help. reading symbolic information ...warning: stab entry unrecognized: name ,type 45, class a8, value 0' ... (1 Reply)
Discussion started by: skfn1203
1 Replies

6. Programming

ld: fatal error

i am trying to compile my program using a makefile and i keep getting this message: Undefined first referenced symbol in file main /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/crt1.o ld: fatal: Symbol referencing errors. No output written to prog5 collect2: ld returned 1 exit status ***... (2 Replies)
Discussion started by: betterdayz
2 Replies

7. Programming

Fatal Error

Hi, I just pulled out my code from source control, then I compiled, the compilation is successful at that time. Then I modified one of the source file, Then I compiled, I got the following error ld: fatal: Symbol referencing errors. No output written to ../../CM/bin/cato Before... (1 Reply)
Discussion started by: sarwan
1 Replies

8. Shell Programming and Scripting

Glance Fatal Error

Hi , I a stuck with this problem. I am trying to execute this script1 on SERVER 1 from SERVER 2 using script2 script1 on SERVER 1 #!/usr/bin/ksh /opt/perf/bin/glance -f -adviser_only -iterations 2 -maxpages 2 > /home/user/scripts/glance.op cpuval1=`grep ^CPU... (4 Replies)
Discussion started by: newbie07
4 Replies

9. Programming

vsftpd fatal flaw - can C help

I am not a C programmer, so I was hoping someone can help with the following: vsftpd is programmed in C, but it has a fatal flaw whereby uploads can be copied by Samba before the upload is complete (this includes the latest vsftpd daemon) This is because vsftpd does not support file locking, unlike... (2 Replies)
Discussion started by: jhod22
2 Replies

10. Programming

ld: fatal error

dear all , iam trying to compile a progam using gcc compiler on a sun 280 R machine running solaris 9 . iam getting an error in the last step when the compiler tries to link the objects , although the compiler executes some applicarions that contains no objects smoothly, the error that... (1 Reply)
Discussion started by: ppass
1 Replies
Login or Register to Ask a Question