[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8874) --with-fetch incorrectly links libcom_err



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.)

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/