cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl and libssh2

From: Michael Wood <esiotrot_at_gmail.com>
Date: Fri, 9 Oct 2009 09:24:01 +0200

2009/10/8 Xu, Qiang (FXSGSC) <Qiang.Xu_at_fujixerox.com>:
[...]
> Our printer does not use the executable "curl", but only its library. In this case, can I know its version? One more thing is, how to ensure libcurl.so is compiled with the support of libssh2.so?

When you build libcurl you can specify the path to the libssh2
pkgcconfig file in the PKG_CONFIG_PATH environment variable. You
could also use --with-libssh2=PATH option to the "configure" script.

See also "./configure --help":

michael_at_egret:~/src/curl-7.19.4$ ./configure --help
`configure' configures curl - to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...
[...]
  --with-libssh2=PATH Where to look for libssh2, PATH points to the
                          LIBSSH2 installation (default: /usr/local/lib); when
                          possible, set the PKG_CONFIG_PATH environment
                          variable instead of using this option
  --without-libssh2 disable LIBSSH2
[...]

-- 
Michael Wood <esiotrot_at_gmail.com>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-09