cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Libcurl with-SSL

From: Chris Brown <christopherbrown_at_paradise.net.nz>
Date: Tue, 03 Jul 2007 20:57:12 +1200

Thanks Jeff, although it turned out to be missing '-lssl -lcrypto' options
(Thanks Eddy!)

Hopefully that will be of use to someone else having the same problem.

Chris

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Jeff Pohlmeyer
Sent: Tuesday, 3 July 2007 11:16 a.m.
To: libcurl development
Subject: Re: Libcurl with-SSL

> 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

__________ NOD32 2371 (20070702) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com
Received on 2007-07-03