I'm working in libdbd-oracle-perl 1.24a version, and I have some rpath errors from lintian:
E: libdbd-oracle-perl: binary-or-shlib-defines-rpath ./usr/lib/perl5/auto/DBD/Oracle/Oracle.so /usr/lib/oracle/188.8.131.52/client/lib/lib
N:*N: * *The binary or shared library sets RPATH. This overrides the normalN: * *library search path, possibly interfering with local policy and causingN: * *problems for multilib, among other issues.
N: * *N: * *The only time a binary or shared library in a Debian package should setN: * *RPATH is if it is linked to private shared libraries in the sameN: * *package. In that case, place those private shared libraries in
N: * */usr/lib/<package>. Libraries used by binaries in other packages shouldN: * *be placed in /lib or /usr/lib as appropriate, with a proper SONAME, inN: * *which case RPATH is unnecessary.
N: * *N: * *To fix this problem, look for link lines like:N: * * * *gcc test.o -o test -Wl,--rpath,/usr/local/libN: * *orN: * * * *gcc test.o -o test -R/usr/local/lib
N: * *and remove the -Wl,--rpath or -R argument. You can also use the chrpathN: * *utility to remove the RPATH.N: * *N: * *Refer to http://wiki.debian.org/RpathIssue for details.
N: * *N: * *Severity: serious, Certainty: possibleN:*E: libdbd-oracle-perl: binary-or-shlib-defines-rpath ./usr/lib/perl5/auto/DBD/Oracle/Oracle.so /usr/lib/oracle/184.108.40.206/client/lib/rdbms/lib