quanah@openldap.org wrote:
Full_Name: Quanah Gibson-Mount Version: 2.4.46 OS: FreeBSD 11 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (47.208.148.239)
When building OpenLDAP on FreeBSD where the fetch library is available, slapd picks up a dependency on libcom_err which shouldn't exist.
This comes in from lines 934 and 944 of build/openldap.m4: 934 LIBS="-lfetch -lcom_err $LIBS" 944 ol_link_fetch="-lfetch -lcom_err"
These should be updated appropriately and configure regenerated
Careful here. There may still be releases of FreeBSD that linked libfetch against com_err, for whatever reason. You'd need to check that libfetch exists, and then check that linking against libfetch by itself succeeds or fails. (And if it fails, put com_err back in and try again.)