Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2017 03:07:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216475] databases/ldb fails to find openldap in non-default LOCALBASE
Message-ID:  <bug-216475-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216475

            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@FreeBSD.org
          Reporter: jhujhiti@adjectivism.org
             Flags: maintainer-feedback?(timur@FreeBSD.org)
          Assignee: timur@FreeBSD.org

Created attachment 179323
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179323&action=
=3Dedit
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 atta=
ched
patch does this.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216475-13>