[PATCH] >=samba-4.0 automagically depends on dmapi (libdm.so)

Andrew Bartlett abartlet at samba.org
Mon Dec 9 13:56:30 MST 2013


On Mon, 2013-12-09 at 14:55 +0100, Lars Wendler wrote:
> Am Sun, 08 Dec 2013 22:46:14 +0100
> schrieb "Stefan (metze) Metzmacher" <metze at samba.org>:
> 
> > Hi Lars,
> > 
> > > From: Andreas Sturmlechner <andreas.sturmlechner at gmail.com>
> > > 
> > > This fixes https://bugs.gentoo.org/474492
> > > 
> > > Signed-off-by: Lars Wendler <polynomial-c at gentoo.org>
> > 
> > --with-dmapi=no should do what you want. It was intended to change the
> > default
> > to 'auto'.
> > 
> > metze
> 
> Hello Stefan,
> 
> thank you for your replies.
> 
> So what is the correct way to compile samba without linking to dmapi
> (libdm.so) when that lib is installed in the system?
> 
> We also have similar problems with samba "automagically" linking to
> 
> attr (libattr.so) [1]
> libaio (libaio.so) [2]
> pam (libpam.so) [3] 
> 
> What is the correct procedure to not make samba link against any of
> these libs when they are installed on a system?
> 
> [1] https://bugs.gentoo.org/489748
> [2] https://bugs.gentoo.org/489764
> [3] https://bugs.gentoo.org/489770

Why are you trying to stop Samba using these important libraries?

This reminds me, we should get back to making the build scripts assert
that we have xattr, acl and ldap libs, rather than silently failing to
have certain features.

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20131210/59a5feb1/attachment.pgp>


More information about the samba-technical mailing list