cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Libcurl with-SSL

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Mon, 2 Jul 2007 18:15:35 -0500

> However when I run the makefile for my test application (based on sample.c)
> I get numerous 'undefined reference' errors e.g undefined reference to
> 'SSL_write'.
> ...
> Can anyone offer any suggestions?

Here's a few things...

Check to make sure you don't have an old version of libcurl hiding
around somewhere.

Check the output of:
  curl --version
and make sure "SSL" is listed on the "Features" line.

Try using either:
   `curl-config --libs --cflags`
or:
  `pkg-config libcurl --libs --cflags`
on the command line where you compile your test app.

 - Jeff
Received on 2007-07-03