If you don't want SSL support, edit the configuration and undefine the preprocessor macros USE_SSLEAY
and SSL_OPENSSL
, and the linker errors will go away.
If you do want SSL support, you need to compile and link it in yourself, since it doesn't ship with libcurl. See this question for detail instructions on how to do that on Windows (which I assume you're using, since you mentioned MinGW).
Some other operating systems, such as Linux and Mac OS X, ship with OpenSSL, so you don't need to jump through any hoops—you can just add one of -lssl
, -lopenssl
, or -lcrypto
to your command line, and it should just work (the exact library name varies with OSes).