cURL / Mailing Lists / curl-library / Single Mail

curl-library

Newbie: win32 ssl problem

From: Daniel Hobi <early_burp_at_gmx.net>
Date: Fri, 21 Dec 2001 23:37:59 +0100 (MET)

Hi,

First I have to say that I'm really new to win32 programming especially with
dll files. Since I'm very interested in using the libcurl in an own c/c++
programm (win32, mingw32), I decided to have a look at the example files. So I
did the following:

Download curl-7.9.2-win32-ssl-devel-mingw32.zip
Download curl-7.9.2.zip
Download openssl-0.9.6b-win32-bin.zip

Then I placed libcurl.a (curl-..-mingw32.zip), ftpget.c
(curl-7.9.2.zip:/docs/examples) and libeay32.dll & libssl32.dll (openssl...) all in the same
directory.

I compiled ftpget.c with -DWIN32 and -I with the path to "lib" subfolder of
curl - ok.
But when I try to link all the stuff together with "-lcurl -lwsock32 -lssl
-lcrypto -dl" and -L with the path where all the files are, ld can't find the
ssl libraries ("ld.exe: cannot open -lssl")??

What's going wrong?

Best Regards,
Daniel

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
Received on 2001-12-22