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

RE: binary-or-shlib-defines-rpath



On 17-Jan-2001 Wesley W. Terpstra wrote:
> Hi, lintian gives me these errors:
> W: libproteus-filter1: binary-or-shlib-defines-rpath
> ./usr/lib/proteus-slave/libsfilter.ext.so.1.0.0 /usr/lib/proteus-slave
> W: libproteus-filter1: binary-or-shlib-defines-rpath
> ./usr/lib/proteus/libmfilter.ext.so.1.0.0 /usr/lib/proteus
> W: libproteus-dataweb1: binary-or-shlib-defines-rpath
> ./usr/lib/proteus-slave/libsdataweb.ext.so.1.0.0 /usr/lib/proteus-slave  
> <more follow>
> 
> However, the error is actually correct behaviour for that program... It is
> supposed to search /usr/lib/proteus-slave for libraries before searching
> /usr/lib. Should I just modify the program to dump all the libraries into
> /usr/lib and kill the -rpath given to libtool? The program would probably
> still work, but there were design reasons for placing these libraries in a
> seperate directory.
> 

leave them in a subdir, in the code, you should be able to set a path to look
in.  Or perhaps this use of rpath is ok, and an override will be used.  Try to
solve the problem, then we can see about getting lintian happy.



Reply to: