How forbidden is RPATH?

Enrico Scholz enrico.scholz at
Sun Apr 30 11:07:51 UTC 2006

tibbs at (Jason L Tibbitts III) writes:

> I'm reviewing a package (rapidsvn,
> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <>

More information about the fedora-extras-list mailing list