[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Rpath problem libdbd-oracle-perl



Hi,

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/11.1.0.1/client/lib/lib
N: 
N:    The binary or shared library sets RPATH. This overrides the normal
N:    library search path, possibly interfering with local policy and causing
N:    problems for multilib, among other issues.
N:    
N:    The only time a binary or shared library in a Debian package should set
N:    RPATH is if it is linked to private shared libraries in the same
N:    package. In that case, place those private shared libraries in
N:    /usr/lib/<package>. Libraries used by binaries in other packages should
N:    be placed in /lib or /usr/lib as appropriate, with a proper SONAME, in
N:    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/lib
N:    or
N:        gcc test.o -o test -R/usr/local/lib
N:    and remove the -Wl,--rpath or -R argument. You can also use the chrpath
N:    utility to remove the RPATH.
N:    
N:    Refer to http://wiki.debian.org/RpathIssue for details.
N:    
N:    Severity: serious, Certainty: possible
N: 
E: libdbd-oracle-perl: binary-or-shlib-defines-rpath ./usr/lib/perl5/auto/DBD/Oracle/Oracle.so /usr/lib/oracle/11.1.0.1/client/lib/rdbms/lib

Please see:

http://isc.utp.edu.co/~junix/libdbd-oracle-perl_1.24a-1.dsc

Regards,

--
Julián Moreno Patiño
Registered GNU Linux User ID 488513
PGP KEY ID 6168BF60

Reply to: