Package: libhdf4-dev Version: 4.2r4-11 Severity: normal Tags: patch
The rules file in libhdf4 uses chrpath to strip the rpath from the executables and shared objects. It does not strip the rpath from the libtool archives. This causes programs built against libdf to include an invalid rpath. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.35.4 (PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libhdf4-dev depends on: ii libhdf4-0 4.2r4-11 The Hierarchical Data Format libra ii libjpeg62-dev 6b1-1 Development files for the IJG JPEG ii zlib1g-dev 1:1.2.3.4.dfsg-3 compression library - development libhdf4-dev recommends no packages. libhdf4-dev suggests no packages. -- no debconf information
>From 3d7302f77def786c100bcc54811cd2e49e811fc6 Mon Sep 17 00:00:00 2001 From: Andy Spencer <andy753...@gmail.com> Date: Thu, 25 Nov 2010 20:53:39 -0800 Subject: [PATCH] Strip rpath from libtool archives --- debian/rules | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/debian/rules b/debian/rules index 5e1d965..d6e64e5 100755 --- a/debian/rules +++ b/debian/rules @@ -153,6 +153,9 @@ stamps/install-stamp: build-arch for obj in $(DESTDIR)/usr/bin/* $(DESTDIR)/usr/lib/*.so.* $(DESTDIR)/usr/lib-alt/*.so.*; do \ chrpath -d $${obj} || true; \ done + for obj in $(DESTDIR)/usr/lib/*.la $(DESTDIR)/usr/lib-alt/*.la; do \ + sed -ie 's/-R *[^ ]\+ //g' $${obj} || true; \ + done # rename programs also provided by netcdf-bin mv $(DESTDIR)/usr/bin/ncdump $(DESTDIR)/usr/bin/ncdump-hdf -- 1.7.2.3
_______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel