2009/10/8 Xu, Qiang (FXSGSC) <[email protected]>:
[...]
> 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":
mich...@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 <[email protected]>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html