Curl: fatal: libcrypto.so.1.0.0 | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Curl: fatal: libcrypto.so.1.0.0

UNIX for Advanced & Expert Users


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-13-2013
mehrdad68 mehrdad68 is offline
Registered User
 
Join Date: Jan 2009
Last Activity: 27 September 2013, 6:09 AM EDT
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
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 07:44 AM..
Sponsored Links
    #2  
Old 02-13-2013
MadeInGermany MadeInGermany is offline Forum Advisor  
Registered User
 
Join Date: May 2012
Last Activity: 1 October 2014, 3:56 PM EDT
Location: Simplicity
Posts: 1,925
Thanks: 123
Thanked 561 Times in 509 Posts
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

Sponsored Links
    #3  
Old 02-13-2013
mehrdad68 mehrdad68 is offline
Registered User
 
Join Date: Jan 2009
Last Activity: 27 September 2013, 6:09 AM EDT
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts

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
mehrdad68 mehrdad68 is offline
Registered User
 
Join Date: Jan 2009
Last Activity: 27 September 2013, 6:09 AM EDT
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
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>

Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Linking in OpenSSL libcrypto Statically BrandonShw Programming 20 07-20-2011 02:42 PM
libcrypto.so.0.9.7 flinders1323 Solaris 6 08-11-2010 02:13 AM
ld: fatal error betterdayz Programming 2 11-01-2006 09:47 AM
Fatal Error sarwan Programming 1 05-10-2006 10:21 AM
ld: fatal error ppass Programming 1 01-07-2005 11:32 AM



All times are GMT -4. The time now is 06:19 PM.