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/220.127.116.11/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/18.104.22.168/client/lib/rdbms/lib