Whilst cleaning up the lintian reports in preparation for the
Debian/Ubuntu hivex package one of the issues is:
E: libhivex-perl: binary-or-shlib-defines-rpath
./usr/lib/perl/5.10.1/auto/Win/Hivex/Hivex.so
/tmp/buildd/hivex-1.2.1/perl/../lib/.libs
I've temporarily dealt with this by using chrpath in the build and a
rule to delete the RPATH from "auto/Win/Hivex/Hivex.so".
I wonder if this is an oversight since it is non-portable and refers to
a build-time location? There are some helpful notes about this at:
http://wiki.debian.org/RpathIssue