libtool
[Top][All Lists]
Advanced

[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: Fri, 13 May 2005 08:50:23 -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.
>

Thanks for answering Bob!

I hope things are well in the Great State of Texas today!

OK, so an existing program, linked to version 0.0.0, will continue to
use the old version of the library? 

That implies that when I install a new version, the old version says
around. Is that correct?

Then, if the user re-links his program, the linker will find the most
recent version of the library to link to? Is that correct?

Thanks!

Ed

PS - I have some more complicated questions about versioning, but
first I want to be sure I understand the simplest cases.


-- 
Ed Hartnett  -- address@hidden





reply via email to

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