Subject: Re: how to handle shared libraries
To: None <tech-userlevel@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-userlevel
Date: 08/25/2005 10:51:12
On Thu, Aug 25, 2005 at 01:35:35PM +1000, Luke Mewburn wrote:
> In general, we want to have the "library dependency make variable"
> use the .so if the program is dynamically linked and the .so is
> available, else use the .a.  This means that updating libc.so
> but not libc.a would mean that a program would detect that it
> needs to be relinked again.  Except there's special cases that
> need dealing with.

Why? The very concept of dynamic linking is *not* to introduce such a
dependency. I can see only one reason and that's a change in the ABI of
any kind. But that change should be reflected in the header files and if
the program correctly depends on those, it will get partly rebuild
anyway.

Joerg