curl-library
libcurl and libssh2
Date: Thu, 8 Oct 2009 15:38:25 +0800
Hi, all:
Just want to know whether curl library is using libssh2 to do transfer over SFTP. I greped the source code under "curl-7.19.6/lib", and found there is a lot of function calls to libssh2_xxx(), so I guess the answer is yes, right?
But in our printers, it seems libcurl.so is not using libssh2:
============================================
SBC118:/usr/smart/lib <66> ldd /usr/lib/libcurl.so
libdl.so.2 => /lib/libdl.so.2 (0x0fe60000)
libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0x0fe00000)
libkrb5.so.3 => /lib/libkrb5.so.3 (0x0fa30000)
libk5crypto.so.3 => /lib/libk5crypto.so.3 (0x0f9f0000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x0f9b0000)
libcom_err.so.3 => /lib/libcom_err.so.3 (0x0f9d0000)
libresolv.so.2 => /lib/libresolv.so.2 (0x0fcb0000)
libidn.so.11 => /usr/lib/libidn.so.11 (0x0fdb0000)
libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x0f910000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x0fb30000)
libz.so.1 => /usr/lib/libz.so.1 (0x0fd10000)
libc.so.6 => /lib/libc.so.6 (0x0fe80000)
/lib/ld.so.1 (0x08000000)
============================================
Does that means the curl library used in our printer was not compiled with libssh2 support?
Thanks,
Xu Qiang
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-08