Running master/Samba3 fails because of system talloc
Andrew Bartlett
abartlet at samba.org
Tue Mar 24 12:15:42 GMT 2009
On Tue, 2009-03-24 at 08:10 -0400, simo wrote:
> On Tue, 2009-03-24 at 20:57 +1100, Andrew Bartlett wrote:
> > I've just built Samba3 from master, and have found that, because I have
> > libtalloc on my system, it prefers to link against this (and fail to
> > run), than to use the copy Samba3 built.
> >
> > bin/smbclient
> > bin/smbclient: symbol lookup error: bin/smbclient: undefined symbol:
> > _talloc_get_type_abort
>
> We just need to make sure samba3 checks for the right version being
> available when we build it. If samba3 depends on 1.2.1 and does not
> check for it, then it is just a configure error.
It checks for libtalloc, determines it must build it's own (as a .so),
but then includes -ltalloc on the gcc line. Because the libtalloc it
built isn't installed yet (and not in a default search path anyway), it
tries to use the system one.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc. http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20090324/895a74aa/attachment.bin
More information about the samba-technical
mailing list