Symbol versioning

David Collier-Brown davecb at
Tue May 27 14:22:11 GMT 2008

simo wrote:
> On Mon, 2008-05-26 at 17:10 +0200, Stefan (metze) Metzmacher wrote:
>>The things I would like to have are these:
>>- Make it possible to use an old smbd with a newer winbindd
>>- Make it possible to use a new smbd against an older winbindd

A concrete suggestion: belt and suspenders.

Change the production makefiles to link to (belt)

Create a, and build it with the new interfaces,
using symbol versioning in such a way that linkers that don't
understand get the new and and not the old versions. (suspenders) 

Change the Makefile for development version and optionally the symlink to point 
to so that new builds get the new library.

Now experiment with new interfaces and versioning, knowing that
old builds won't trip over the new code.

David Collier-Brown            | Always do right. This will gratify
Sun Microsystems, Toronto      | some people and astonish the rest
davecb at                 |                      -- Mark Twain
(905) 943-1983, cell: (647) 833-9377, (800) 555-9786 x56583
bridge: (877) 385-4099 code: 506 9191#

More information about the samba-technical mailing list