Summary: | net/openldap24-server: ld: error: unable to find library -lltdl | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | O. Hartmann <ohartmann> |
Component: | Individual Port(s) | Assignee: | Xin LI <delphij> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | Flags: | bugzilla:
maintainer-feedback?
(delphij) |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
O. Hartmann
2021-05-11 14:36:17 UTC
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d4a6b63b1c335f04cefbdba7b12b8dbb970e9976 commit d4a6b63b1c335f04cefbdba7b12b8dbb970e9976 Author: Xin LI <delphij@FreeBSD.org> AuthorDate: 2021-05-11 16:43:38 +0000 Commit: Xin LI <delphij@FreeBSD.org> CommitDate: 2021-05-11 16:43:39 +0000 net/openldap24-server: Use local libraries paths for libltdl is used. Reported by: O. Hartmann PR: 255795 net/openldap24-server/Makefile | 1 + 1 file changed, 1 insertion(+) My bad, fixed, thanks for reporting. After changes have made and the port compiles now, reinstalling and subsequent restarting then fails: # service slapd restart slapd not running? (check /var/run/openldap/slapd.pid). Performing sanity check on slap configuration: FAILED /usr/local/etc/rc.d/slapd: WARNING: failed precmd routine for slapd The OPTIONS=PPOLICY seems to be the culprit: if enabled and configured for a database as an overlay, this feature is considered a configuration error! (In reply to O. Hartmann from comment #4) I can't reproduce. Did you happen to have a configuration without: moduleload ppolicy In the "Load dynamic backend modules" section of your slapd.conf? We use olc-config throutout our servers running OpenLDAP. Somehow the module ppolicy didn't load - we had to check cn=module. After ldapmodifying everything went as expected. Sorry for the noise. |