cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl and libssh2

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

2009/10/8 Xu, Qiang (FXSGSC) <>:
> 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 is compiled with the support of

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 <>
List admin:
Received on 2009-10-09