[Pkg-openldap-devel] [openldap] 02/17: * Fix the check for missing lib symbols to use LD_LIBRARY_PATH, so the package builds on systems that don't already have libldap-2.2-7 installed. Closes: #305785.

Timo Aaltonen tjaalton-guest at alioth.debian.org
Thu Oct 10 05:35:57 UTC 2013


This is an automated email from the git hooks/post-receive script.

tjaalton-guest pushed a commit to annotated tag 2.2.23-5
in repository openldap.

commit 0ec6a0966d07caad82984016c09012f2d76c92b1
Author: Steve Langasek <vorlon at debian.org>
Date:   Fri Apr 22 08:51:36 2005 +0000

      * Fix the check for missing lib symbols to use LD_LIBRARY_PATH, so the
        package builds on systems that don't already have libldap-2.2-7
        installed.  Closes: #305785.
---
 debian/changelog |    3 +++
 debian/rules     |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 8e7f58f..13b8f5c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,9 @@ openldap2.2 (2.2.23-4) unstable; urgency=low
     limited use because it only fixes those attributes that we have
     prior knowledge of (i.e., those in the default schemas we ship), but
     it's something at least.  Closes: #302629.
+  * Fix the check for missing lib symbols to use LD_LIBRARY_PATH, so the
+    package builds on systems that don't already have libldap-2.2-7
+    installed.  Closes: #305785.
 
  --
 
diff --git a/debian/rules b/debian/rules
index db74c22..f96c7c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,7 +43,7 @@ install: install-stamp
 install-stamp: build-stamp
 	$(MAKE) -C $(builddir) $(MAKEVARS) install
 	for F in $(installdir)/usr/lib/*.so.*.*.*; do \
-	    if ldd -d -r $$F 2>&1 | grep '^undefined symbol:'; then \
+	    if LD_LIBRARY_PATH=$(installdir)/usr/lib ldd -d -r $$F 2>&1 | grep '^undefined symbol:'; then \
 	        echo; \
 	        echo "library $$F has undefined references.  Please fix this before continuing."; \
 		exit 1; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openldap/openldap.git



More information about the Pkg-openldap-devel mailing list