Bug 11468 - Samba builds in-tree libldb even if you tell it to use the system ldb
Summary: Samba builds in-tree libldb even if you tell it to use the system ldb
Status: RESOLVED DUPLICATE of bug 11458
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.3.0rc1
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Stefan Metzmacher
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks: 10695
  Show dependency treegraph
 
Reported: 2015-08-25 15:03 UTC by Andreas Schneider
Modified: 2015-08-25 20:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schneider 2015-08-25 15:03:19 UTC
I've installed libldb-1.1.21 on the system and tell Samba to use the system ldb version but it doesn't look for it and builds it.

Simplified configure command:

./configure '--bundled-libraries=!ldb,!pyldb' --with-system-mitkrb5 --without-ad-dc

Full configure command:

./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-fhs --with-piddir=/run --with-sockets-dir=/run/samba --with-modulesdir=/usr/lib64/samba --with-pammodulesdir=/usr/lib64/security --with-lockdir=/var/lib/samba --with-cachedir=/var/lib/samba --disable-rpath-install --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2,pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4,auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4 '--bundled-libraries=heimdal,!zlib,!popt,!talloc,!pytalloc,!pytalloc-util,!tevent,!pytevent,!tdb,!pytdb,!ldb,!pyldb' --with-pam --with-pie --with-relro --without-fam --with-system-mitkrb5 --without-ad-dc --with-cluster-support --with-profiling-data --without-pam_smbpass --with-systemd

I do not see the line:
Checking for system ldb >= 1.1.21           : yes

It works for talloc, tdb, tevent, zlib etc.
Comment 1 Andreas Schneider 2015-08-25 20:20:45 UTC

*** This bug has been marked as a duplicate of bug 11458 ***