[Bug 216475] databases/ldb fails to find openldap in non-default LOCALBASE
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 26 03:07:36 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216475
Bug ID: 216475
Summary: databases/ldb fails to find openldap in non-default
LOCALBASE
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: timur at FreeBSD.org
Reporter: jhujhiti at adjectivism.org
Flags: maintainer-feedback?(timur at FreeBSD.org)
Assignee: timur at FreeBSD.org
Created attachment 179323
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179323&action=edit
LOCALBASE in CFLAGS and LDFLAGS
ldb by default looks in /usr/local for libraries and headers (namely, for
openldap). If installed somewhere else, this causes configuration failures and
eventually a packaging failure:
Checking for library lber: not found
Checking for library ldap: not found
Checking for ber_flush: not found
Checking for ldap_open: not found
Checking for ldap_initialize: not found
-----
pkg-static: Unable to access file
/wrkdirs/usr/ports/databases/ldb/work/stage/usr/pkg/lib/shared-modules/ldb/ldap.so:
No such file or directory
Upstream does not appear to provide a configure flag to change this, but we can
influence the build with CFLAGS and LDFLAGS environment variables. The attached
patch does this.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list