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

Re: How forbidden is RPATH?



tibbs math uh edu (Jason L Tibbitts III) writes:

> I'm reviewing a package (rapidsvn,
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=190139) that
> makes rpmlint complain:
>
> E: rapidsvn binary-or-shlib-defines-rpath /usr/bin/rapidsvn ['/usr/lib64']

This will happen for every package whose upstream tarball was created
with a non-RH libtool and afaik, there is no easy way to prevent it.

IMO, best solution is

  do some dirty patching of ./configure; this is not very portable and
  causes a bunch of problems when people do not use AM_MAINTAINER_MODE

but I do not have a general recipe for it. Perhaps something like

| sed -i -e 's!sys_lib_search_path_spec=.*"!\0 /%_lib /usr/%_lib"! libtool

after %configure. But this is a kind of dirty patching too.



Enrico

Attachment: pgpfuCUkS8vB4.pgp
Description: PGP signature


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