[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: totally confused by versioning system of libtool...

From: Ed Hartnett
Subject: Re: totally confused by versioning system of libtool...
Date: Sat, 14 May 2005 05:28:10 -0600
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Bob Friesenhahn <address@hidden> writes:

> On Fri, 13 May 2005, Ed Hartnett wrote:
>> How does the version number get used in this situation? That is, is
>> there any time on the users machine that the linker notices that he is
>> now linking to 1.0.0 instead of 0.0.0?
> Yes, the linker notices it when it runs. :-)
> Existing programs continue to use existing libraries according to ELF
> versioning rules.
> Programs linked after the newer library is installed will use the
> newer library.

In the case of shared library versions, what about the header file?

Most libraries (including the one I am converting to libtool) have a
header file that is installed along with the library.

Although the versioning scheme is very clever about letting me have
multiple libraries of different major versions, is there any
equivalent way to handle the header files of different versions?

(Other than using a different --prefix).


Ed Hartnett  -- address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]