cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl 5.9 with libc5 :)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 27 Feb 2002 08:04:46 +0100 (MET)

On Tue, 26 Feb 2002, Miklos Nemeth wrote:

> I had to port my curl-based application onto a libc5 environment and I
> found that only curl 5.9 compiles against libc5 (on RedHat 6.1 with libc5
> compatibility libraries and, gcc 2.7.2.3)

I don't get it. What's so special with libc5 which makes it a problem for
curl to build with it? The configure script is meant to find all those quirks
and the sources should adjust to the current situation.

Can you elaborate on this please?

> I played with this version for a while and I found it works perfectly for
> HTTPS, which is needed by my app.

Heh, well obviously, as the changelog can tell, there's one or two bugs in
there that have been fixed since.

> Therefore, I'm seriously thinking downgrading to curl 5.9 on all platforms
> (Linux libc6/glibc2, Solaris7, Solaris8, FreeBSD3, FreeBSD4, Win32, Linux
> libc5) that my app has to support. Unfortunately, curl 5.9 has a different
> API than curl 7.9.

The easy interface was introduced in libcurl v7. Released about 15 months
after the 5.9... :-)

> I'm thinking of building the "easy" API on top of 5.9.
>
> Any comments are appreciated.

Of course it is entirely up to you to do this if you really want to. That's
what open source is all about.

However, if you are prepared to spend time and effort on this, why not work
on the opposite problem and get 7.9.5 to work for you? That would be a much
better contribution to the project (in my opinion of course) and would
benefit much more people.

Also note that curl 5.9 is released using a different license, which may or
may not affect how you can utilize it in your project.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-02-27