| Summary: | sys-libs/ldb can be built without net-nds/openldap: make dependency optional | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Vincent Brillault <gentoo> |
| Component: | Current packages | Assignee: | Gentoo's SAMBA Team <samba> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | bugs.gentoo.org, gentoo |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 579088 | ||
| Attachments: |
Ebuild patch making the openldap dependency optional
Compilation logs without openldap |
||
Created attachment 430070 [details]
Compilation logs without openldap
I am wondering about the dep on net-nds/openldap too. I can build sys-libs/ldb-1.1.26 without openldap and samba (very important user of ldb) seems to work. *** This bug has been marked as a duplicate of bug 506448 *** |
Created attachment 430068 [details] Ebuild patch making the openldap dependency optional It seems that it is possible to build sys-libs/ldb without net-nds/openldap. In addition, samba seems to be able to work properly with this sys-libs/ldb[-ldap] version (seems to be working on my local server). If this work, samba[-ldap] could be build without requiring net-nds/openldap (which it currently does indirectly thought ldb). Attach an ebuild patch and a successful compilation run where you can read the following: ''' Checking for library lber : not found Checking for library ldap : not found Checking for ber_flush : not found Checking for ldap_ : not found Checking for ldap_initialize : not found ''' I see that it was stated in #506448 that "Yes, it definitely does want to link the ldap module against liblber and libldap.". Could you explain that in more details? Thanks in advance!