cURL / Mailing Lists / curl-library / Single Mail


Re: Different lib versions in the same system (was Re: [PATCH] 64-bit curl_off_t no longer gated to off_t)

From: Jamie Lokier <>
Date: Tue, 5 Aug 2008 23:02:21 +0100

Daniel Stenberg wrote:
> >How do 'people' handle having several versions, with different ABI, of the
> >same library installed on a system so that the user can choose at will
> >which one to use ?
> I don't know of any systems that keep them around to let the user pick. The
> older ones are just left at times to let already built programs remain
> functional, but newly built programs (typically) just use the latest and
> greatest.

(This applies to libraries generically).

Except sometimes thread-enabled and thread-incompatible versions co-exist.

That's because you can't link a thread-enabled library with an
application that's built without threads (on many platforms), but you
must link a thread-enabled library if the applications is built with
threads, otherwise the library doesn't work right.

Increasingly, everything is just built with threads though.

-- Jamie
Received on 2008-08-06