samba-technical@lists.samba.org
[Top] [All Lists]

Re: Running master/Samba3 fails because of system talloc

Subject: Re: Running master/Samba3 fails because of system talloc
From: Björn Jacke
Date: Tue, 24 Mar 2009 23:42:54 +0100
On 2009-03-24 at 20:57 +1100 Andrew Bartlett sent off:
> Samba4 currently builds and runs fine for me, because when it fails to
> link against system libraries, a static copy is used.

this work fine as long as no library that we link against use the system
talloc library. When this happens the name spaces of the old (shared) and of
the new (static) talloc libs overlap and you get a mixture of both. With
old/newer libtalloc you MAY be lucky that it works nevertheless, but maybe not.

I've painfully seen these effects when I tried linking samba statically against
Heimdal on an old RHEL system where the name spaces of system MIT and Heimdal
overlapped this way. IMHO updating the system lib is the only reliable way to
fix such things.

Cheers
Björn
-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
<Prev in Thread] Current Thread [Next in Thread>