On Sun, Nov 24, 2013 at 10:54:39AM -0500, Jeff King wrote: > Another thought is that the curl fix seems to only kick in when built > with openssl support. I'm not sure I understand how ubuntu's packaging > of curl uses gnutls versus openssl for the shared library. That may be > related.
Debian (and presumably Ubuntu) build the curl source three times: once each for OpenSSL, GnuTLS, and NSS. Each shared library is named differently (libcurl-openssl.so.3, etc.) and in its own package (libcurl3-openssl). The corresponding -dev package for each version sets up the symlinks and install headers to point to the proper version, so you always compile and link as you expect. The reason for this is that Debian cannot distribute GPLv2-only programs (like git) linked against OpenSSL, so GnuTLS becomes necessary. On Debian and Ubuntu, git is by default linked against libcurl3-gnutls. -- brian m. carlson / brian with sandals: Houston, Texas, US +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Description: Digital signature