curl-library
RE: curl with ssl problems on HP-UX
Date: Mon, 12 Aug 2002 19:33:05 +0300
:) Have a good day.
Ofira Shaer
ext. 4518
-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Monday, August 12, 2002 4:31 PM
To: Shaer, Ofira
Cc: libcurl Mailing list
Subject: RE: curl with ssl problems on HP-UX
On Mon, 12 Aug 2002, Shaer, Ofira wrote:
> This is the Makefile I use:
[snip]
> LDFLAGS = -L/users/oshaer/openssl/lib -L/users/oshaer/curlssl/lib
> LIBS = -lssl -lcrypto -lcurl
But what do curl-config --libs and --cflags tell you? Don't you need to let
your linker know where the curl lib is?
curl-config --libs and -cflags seem ok, at least to me:
-L/users/oshaer/curlssl/lib -lcurl -L/users/oshaer/openssl/lib
-lssl -lcrypto
> I use the same makefile for non-ssl version, only without the path to the
> ssl library.
Uh, you have both installed using the same name?
No, I am not using the same name, one is curl, the other is curlssl, but
apart from that , and the pathes to openssl, the Makefile is identical.
> I don't understand how do the curl tests work, I tried to look at the
> Makefile of these tests and I did not find anything that can help.
They do nothing magic, they use the compiled and built curl tool. It gets
built as src/curl, the test suite runs the perl script tests/runtests.pl and
all tests are using almost-XML format in tests/data, one file for each test.
The point being that curl links fine, and when ran configure to get the
setup
fine for curl, that used config is stored in the curl-config tool to enable
you to use the exact same compiler and linker switches easily.
-- Daniel Stenberg -- curl related mails on curl related mailing lists please ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-08-12